|
|
#1 |
|
Library Breeder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 944
Karma: 1900141
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Search and Replace
Where can I find that part in the program?
I know that a template can be made to create the same results, but I don't want to create a template, I just want the choice to be available. This is to be used in a long text column. Just turn the appending comma into a /n /n append prepend /n |
|
|
|
|
|
#2 |
|
Grumpy old git
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,063
Karma: 3789385
Join Date: Jan 2010
Location: UK
Device: Reader
|
The code is in src/calibre/gui2/dialogs/metadata_bulk.py
However, you can do exactly what you want already, without templates, assuming you are using plain text long text columns. For example, the S&R in this screen capture appends the source column to the destination column, inserting a newline between the two. If you have an "appending comma" then you haven't unchecked the "Split result" checkbox. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Library Breeder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 944
Karma: 1900141
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Thanks so much! Yes, I am doing long text to long text. I use the get file name plugin to document original file names - which often contain the source of the book (amazon books are listed as the ASIN number, while books downloaded from Smashwords all have "-" in the spaces with lower caps. Sometimes I have multiple copies of the same book from different sources and I want to keep track of all the names and formats. I wanted to copy and paste them all into a single column, but I couldn't get the line break.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 08:10 PM |
| save multiple search/replace, or search/replace multiple ebooks | user743 | Editor | 12 | 04-12-2014 03:38 AM |
| Search/Replace ID? | OldLincoln | Calibre | 4 | 09-04-2013 04:50 PM |
| search and replace - drops blanks in replace ? | cybmole | Conversion | 10 | 03-13-2011 04:07 AM |
| Why no search and replace? | charleski | Sigil | 10 | 11-24-2009 05:13 PM |