View Single Post
Old 07-17-2023, 06:14 AM   #11
MsFlutter
Member
MsFlutter began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2023
Device: Android 12 phone
SOLVED: too long of file length

Quote:
Originally Posted by DNSB View Post
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,&)}
Basically, this saves to disk in a directory based on the author sort for the first author in the list and then adds series [series index] - title - first author in the list. If the series has no values, you will get title - first author in the list.
It was the file length limit
I put the export folder closer to the drive and cut some redundant data from the file path, which took it from

Quote:
{#genre}/{series} {authors:|by |}/{series_index:|Part |:} {title} {authors:|by |}/{series_index:|Part |:} {title} {authors:|by |}
C:\Users\aaaaa\aaaaaaaaa\aaaaaaaaa\aaaaaaa\aaa\dys topian\The Hunger Games by Suzanne Collins\Part 2_ Catching Fire by Suzanne Collins\Part 2_ Catching Fire by Suzanne Collins.epub
C:\Users\aaaaa\aaaaaaaaa\aaaaaaaaa\aaaaaaa\aaa\Rom ance\by John Green\The Fault In Our Stars by John Green\The Fault In Our Stars by John Green.epub
to
Quote:
{#genre}/{series:|| {authors:|by |}}/{series_index:|Part |:} {title} {authors:|by |}/{title}
C:\aaa\dystopian\The Hunger Games by Suzanne Collins\Part 2_ Catching Fire by Suzanne Collins\Catching Fire.epub
C:\aaa\Romance\The Fault In Our Stars by John Green\The Fault In Our Stars.epub
Why does calibre remove text from the centre of the folder/file names instead of the end? is there a way to make it remove more text from child folders, so the genres all stay together?
MsFlutter is offline   Reply With Quote