11-30-2022, 03:09 PM | #1 | |
Bookmaker
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Different Templates for Different File Types?
Is there a way to set Calibre to send different file types to different folders using a different template for each type?
I have a large Caliber library of EPUBs that I want to put in an EPUB folder divided into subfolders by author name: Quote:
Code:
{publisher}/{#line: re(: , - )}/{#subline: re(: , - )}/{#edition}/{#subset}/{title: re(: , - )} |
|
11-30-2022, 03:39 PM | #2 |
Custom User Title
Posts: 8,613
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I use Action Chains' single-field edit to populate a custom column, #kobopath:
Code:
program: # Returns 'Fanfiction/Fandom' tag for fanfics if $$#fanficcat then list_re($tags, ',', '^Fanfiction.(.*)$', 'Fanfiction/\1') # Returns 'Kobo' for Kobo store books elif '\[Kobo Store\]' in $#kobostatus then 'Kobo Store' # Returns 'PDF' for PDFs elif $formats == 'PDF' then 'PDF' # Returns 'Loans' for Loans elif 'Loans' in $#vls then 'Loans' # Returns booktype for others else $#booktype fi Code:
{#kobopath:re(_,/)}/{author_sort:sublist(0,1,&)}/{title} - {authors} Last edited by ownedbycats; 11-30-2022 at 03:47 PM. |
Advert | |
|
12-01-2022, 02:27 PM | #3 |
Bookmaker
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Yikes, that's even more complex than I feared.
Alternately, is there a way to make it function differently on a single device by Calibre library rather than by file type? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ebook file types to keep | doritos | General Discussions | 6 | 07-05-2021 05:28 AM |
Mobi2Mobi File types for Mobi2Mobi | Muppet Rat | Kindle Formats | 2 | 11-27-2013 01:41 AM |
Proliferation of file types.... | carpetmojo | Conversion | 8 | 11-10-2013 02:42 AM |
Other file types and 2.3.2 | davidfor | Kobo Reader | 4 | 01-16-2013 04:52 PM |
Touch 'supported' file types | tomsem | Barnes & Noble NOOK | 3 | 06-23-2011 10:19 PM |