View Single Post
Old 06-01-2018, 08:27 AM   #2
chaley
Grand Sorcerer
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: 12,463
Karma: 8025600
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.
Click image for larger version

Name:	append_mode.jpg
Views:	233
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