Thread: Loop over list
View Single Post
Old 04-10-2015, 08:17 AM   #4
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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ivanm View Post
Are custom template functions stored in the library or in the preferences? (That is, if I just copy my ~/Calibre Library/ directory to another computer, will that include the custom function?)
They are in the library, specifically in the metadata.db.

Another way to do this is to write a "calibre" command line python script that does the work on all the books. That way you could run it on any library you want. There is an example of such a script in this thread.
chaley is offline   Reply With Quote