![]() |
#1 | |||
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2023
Device: Android 12 phone
|
![]()
When I save ebooks to disk, calibre will sometimes take a parent folder and remove the center. But it doesn't always do this - often times a folder will be both correctly saved and incorrectly saved, so instead of having
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#2 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I would suspect that you are running into filename/filepath length limits. Perhaps you could check the full path. Under Windows for example, start from the root of the drive that you are exporting to disk on. An example might be:
C:\Users\<your name>\Documents\2023\My Calibre Files\Calibre_Save_to Disk\The Hunger Games by Suzanne Collins\2 - Catching Fire by Suzanne Collins\Catching Fire - Suzanne Collins.azw3 You might also want to post the template you are using for Save to Disk. A sample template might look like: Code:
{author_sort:sublist(0,1,&)}/{series:||} {series_index:|[|] - }{title} - {authors:sublist(0,1,&)} Quote:
Last edited by DNSB; 07-16-2023 at 12:46 PM. Reason: Changed quote to code for template |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,971
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,445
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can use the shorten() template function to construct file names where each segment has a maximum length and is shortened in a consistent way.
Using @DNSB's template as an example, the following ensures that the initial author_sort is never longer than 20 characters, the series is never longer than 15, the title is never longer than 25, and the first author is never longer than 20. The title and author split the value, placing an underscore between the parts. Thus the maximum length is 80 characters + the length of the series index + 8 (or so) for the fixed text in the template (brackets, slashes, hyphens, blanks). Code:
{author_sort:'shorten(sublist($, 0, 1, '&'), 20, '', 0)'}/{series:'shorten($, 15, '', 0)'||} {series_index:|[|] - }{title:'shorten($, 15, '_', 9)'} - {authors:'shorten(sublist($, 0, 1, '&'), 10, '_', 9)'}
Code:
Authorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr, Test/A Foobar Mumble Fratz [16] - Test Title aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccccccccccccccccccccccccccccdddddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee - Authorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr, Test Code:
Authorrrrrrrrrrrrrrr/A Foobar Mumble [16] - Test Title aaaa_eeeeeeeee - Authorrrrr_rrr, Test Last edited by chaley; 07-16-2023 at 07:13 AM. Reason: Left off the length of the fixed text |
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,971
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I'm pretty sure a cat walked across the keyboard while inputting that metadata.
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
|
|
![]() |
![]() |
![]() |
#7 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
|
![]() |
![]() |
![]() |
#8 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,023
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
https://www.imdb.com/title/tt0516913/plotsummary/ |
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One question not asked yet is what does they metadata in Calibre look like for The Hunger Games books?
|
![]() |
![]() |
![]() |
#10 | |
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | |||
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2023
Device: Android 12 phone
|
SOLVED: too long of file length
Quote:
I put the export folder closer to the drive and cut some redundant data from the file path, which took it from Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#13 | ||
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,971
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#14 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
[QUOTE=MsFlutter;4340605][quote]C:\aaa\Romance\The Fault In Our Stars by John Green\The Fault In Our Stars.epub [/qupte]
Should really be at best... C:\aaa\Romance\John Green\The Fault In Our Stars.epub as some titles can be rather long. |
![]() |
![]() |
![]() |
Tags |
file names, saving books to disk, support, truncated, windows 10 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ebook creation and center element | nindotza | Calibre | 9 | 04-02-2020 05:53 AM |
Calibre inconsistently identifies device and sd card | MarjaE | Devices | 2 | 10-18-2019 09:34 PM |
Removing plugin in Calibre removes it from all instances of Calibre | oblox | Calibre | 9 | 09-09-2016 05:39 AM |
Calibre with "empty" folders (no ebook file) | Orionpkmyz | Calibre | 1 | 11-13-2015 10:20 AM |
NYT Removes ebook bestseller lists from print editions | fjtorres | News | 12 | 06-05-2013 02:52 PM |