View Single Post
Old 11-26-2014, 04:52 PM   #8
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,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by eschwartz View Post
Yes, via the command-line.

Code:
for i in $ids; do
    calibredb add_format $i /path/to/empty.txt
done
should work in bash, so that covers linux and OSX. Something similar would work on Windows, but I can never keep batch syntax straight.

You would need to replace ids with a list of all ids in calibre, when I get back to a computer I will try to make a search that produces the ids.
Something with calibredb list.
Excellent suggestion!
chaley is offline   Reply With Quote