![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Kobo Glo HD
|
![]()
Hi there,
I know this subject as already been mentionned, but this feature is quite annoying. Whatever is the destination path (C:\tmp\ or C:\this is my long directory\with a subdir\and another one\my books type\), the filename is shorted to 126 chars. I've added some custom fields in calibre (universe, type) and I want all these fields in my filename when I export. I didn't export my book for a long time (probably at least 1 year), so I noticed that yesterday and can't say if it's due to an upgrade of calibre (5.x ? use of python 3 ?) or windows (10 21H1). I think it didn't happen previously (calibre 4.x and win10). Is there a way to add a parameter (export preference ?) to choose the max size of a filename ? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The max size of a path is 256 characters. There is no 126 character limit anywhere. And no you cant remove the limit.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Kobo Glo HD
|
Quote:
Example:
Export mask: Code:
{author_sort:re(&,-)}-{#univers:|[| }{#univers_index:0>2s| |]}{series:|[| }{series_index:0>3s| |]}{title}[{#genre:subitems(0,1)}] Exported to E:\01 - Ebooks\my_tests\My long directory\and its subdir\=> Baker, Linda P. - Berberick, Nancy Varian-[LanceDragon 61][La rre du Chaos 002]La dame en blanc aux yeux de cendres[Fantasy].epub You can see the filenames are exactly the same, whatever the export directory is. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Kobo Glo HD
|
Sorry, I can't edit my post, I forget an important thing, the expected filename:
Baker, Linda P. - Berberick, Nancy Varian-[LanceDragon 61][La Guerre du Chaos 002]La dame en blanc aux yeux de cendres[Fantasy] (128 chars) The split is Baker, Linda P. - Berberick, Nancy Varian-[LanceDragon 61][La (63 chars) and rre du Chaos 002]La dame en blanc aux yeux de cendres[Fantasy] (63 chars too), missing the "Gue" in the middle. And I tested with Calibre 4.23, same occures. |
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,155
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If it's any help, there was an issue with Microsoft Windows 10 when the 1903 update was applied and the maximum filename or filepath length for some functions was decreased to 126 characters.
It's not a bug, it's a feature! |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Kobo Glo HD
|
Quote:
Yep ![]() |
|
![]() |
![]() |
![]() |
Tags |
exporting files, truncated |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need Kindle for Mac 126.1 | Plumadona | Apple Devices | 6 | 01-19-2021 09:20 AM |
Failed to Load Error Code 126 | teddyschrijvers | Calibre | 1 | 05-17-2018 03:57 AM |
Calibre truncates the file name | crdf | Calibre | 10 | 09-19-2013 11:45 AM |
Metadata as mp3 tag: importa and export to/from filename | brainvision | Calibre | 2 | 08-10-2012 11:46 PM |
conversion truncates book | r2xman | Conversion | 2 | 01-21-2012 02:26 PM |