Thread: Save a copy
View Single Post
Old 02-07-2014, 02:12 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,448
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
dynamic.pickle which is a binary file that you can dump with

calibre-debug -c "import pickle, pprint; from calibre.utils.config import dynamic; pprint.pprint(pickle.load(open(dynamic.file_path, 'rb')))"

And if you want to see just the value:

calibre-debug -c "from calibre.utils.config import dynamic; print dynamic['tweak_book_save_copy'], dynamic.file_path"
kovidgoyal is online now   Reply With Quote