05-31-2018, 05:38 PM | #1 |
Library Breeder (She/Her)
Posts: 1,187
Karma: 1900479
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 |
06-01-2018, 08:27 AM | #2 |
Grand Sorcerer
Posts: 11,949
Karma: 7225107
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
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 | |
|
06-21-2018, 07:53 PM | #3 |
Library Breeder (She/Her)
Posts: 1,187
Karma: 1900479
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 07:10 PM |
save multiple search/replace, or search/replace multiple ebooks | user743 | Editor | 12 | 04-12-2014 02:38 AM |
Search/Replace ID? | OldLincoln | Calibre | 4 | 09-04-2013 03:50 PM |
search and replace - drops blanks in replace ? | cybmole | Conversion | 10 | 03-13-2011 03:07 AM |
Why no search and replace? | charleski | Sigil | 10 | 11-24-2009 04:13 PM |