Quote:
Originally Posted by jbaumann
Hi,
I would like to put PDF documents into a folder named PDF and all other books into a folder Books (not very inventive, but ok...).
How do I get the actual format of the book that is copied to the reader? I tried, in a first step, to use {formats}, but that obviously contained all formats of the book in the library and not only the format that is sent to the reader.
My current filename template is:
{formats}/{author_sort} - {series}{series_index:0>2s| | - }{title}
Thanks a lot for any pointers.
Cheers, Joe
|
You can't get there using templates. The template system knows about information in the book, not why the template is being evaluated. For example it does not know what format is being written, or even if a format is being written.
You can do it if the calibre device driver for your device supports specifying a destination per extension (format). The two drivers I know of with that support are the MTP and wireless device drivers.