![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Laser eb370
|
input and output filenames
Sorry if this elsewhere, I unsuccesfully searched for it, honest
All I want is the output file name (structure) to be the same as the input filename. I have tried putting simple stuff in the Save to disk layout, but nothing seems to change from the default. Is there some switch to tell Calibre to use the 'new' output format that I am missing in Preferences?? |
![]() |
![]() |
![]() |
#2 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Are you converting via the command line? Converting via the GUI? Adding books via the Gui or command line? The Save to disk feature is only used for exporting books from the library. If you are referring to books being added to the library then you are not missing anything since the format of the files in the library database structure are not user configurable. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Laser eb370
|
I am using v1.15 to convert from .mobi to .epub - nothing fancy
by single or block conversion The Adding books expression is set as (?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ? I have not changed this the calibre screen shows title Authors Date Size (MB) Tags Dirk Gently's Holistic Detective Agency Adams, Douglas 16 Dec 2013 0.1 Series Dirk Gently The save to disk format is currently {author}/{series:||/}{title} - {series}{series_index:0>2s| -|- }{author} The output in the kindle calibre library has a folder Adams, Douglas with a subfolder Dirk Gently's Holistic Detective Ag (356) and a file Dirk Gently's Holistic Detectiv - Adams, Douglas.epub what I would like would be: Adams, Douglas>Dirk Gently>01 Dirk Gently's Holistic Detective Agency.epub which is what I think thw Save to disk format implies |
![]() |
![]() |
![]() |
#4 |
ɴₐɴ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
The Save to Disk template doesn't change how Calibre stores files in its library. It's applied when you use the "Save to disk" button or context menu item to export books from the library.
https://www.mobileread.com/forums/sho...d.php?t=119175 Last edited by JimmyR; 12-16-2013 at 09:46 PM. |
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
whats more '>' is not allowed in a file name. Never has.
'>' means Concatenate the files to windows (and DOS) and Linux |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
ɴₐɴ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
I think ringy is using ">" as a path separator in his post, not as actual characters in the filename. His template seems ok.*
Adams, Douglas/Dirk Gently/01 Dirk Gently's Holistic Detective Agency.epub Edit: Quote:
{author_sort}/{series:||/}{series_index:0>2s||} {title} {author} instead of {author_sort} Last edited by JimmyR; 12-16-2013 at 11:32 PM. Reason: Add info - correction |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Laser eb370
|
Brilliant Jimmy-Jim
It was my misunderstanding of the way Calibre performs its actions - did not realise a conversion went into a library where you had to pull it out to get what you want - its odd (and slightly confusing) though, why Calibre truncates strings Anyway, I am sorted and can build my own library of epubs by author/series/etc...... many thanks also to DoctorOOH |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Errno 5] Error of input/output | Chris_Leo | Calibre | 6 | 08-12-2013 01:29 AM |
Plugin which uses net as input and output | medve | Development | 0 | 12-04-2011 03:20 PM |
Output profile and Input encoding questions | Amalthea | Conversion | 2 | 03-24-2011 12:21 PM |
bookmarks in PDF input, and TOC in output | pimpoum | Calibre | 3 | 12-14-2010 12:21 PM |
Input/Output error | tulsa | Calibre | 9 | 04-11-2010 10:51 AM |