Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2018, 05:38 PM   #1
Rellwood
Library Breeder
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 356
Karma: 1891742
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (2), PW2 (1), PW3 (4)
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
Rellwood is offline   Reply With Quote
Old 06-01-2018, 08:27 AM   #2
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,756
Karma: 2655962
Join Date: Jan 2010
Location: France
Device: Many android devices
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.
Click image for larger version

Name:	append_mode.jpg
Views:	92
Size:	208.4 KB
ID:	164225

If you have an "appending comma" then you haven't unchecked the "Split result" checkbox.
chaley is offline   Reply With Quote
Old 06-21-2018, 07:53 PM   #3
Rellwood
Library Breeder
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 356
Karma: 1891742
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (2), PW2 (1), PW3 (4)
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.
Rellwood is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 07:40 AM.


MobileRead.com is a privately owned, operated and funded community.