![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 936
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
How Can I Check for File Path Issues?
I've encountered some file path issues. I'm not sure how to predict these and protect against them.
1. If I'm exporting books to certain devices, especially Android devices, these will truncate long file paths. 2. If I'm transferring my library to a Windows computer, it will refuse to import files with long file paths. The best I can see is to *manually* go through the book list and pre-emptively truncate or abbreviate each long title, and each author list. Which makes it a pain to re-type these when it's time to cite these books. But if there's some way to identify books which *might* cause trouble, that would help. |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,828
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
My personal workaround is to use template when saving to disk or exporting to devices.
For saving to disk, I use: Code:
{author_sort:sublist(0,1,&)}/{series:|[|} {series_index:0>2s||] - }{title} - {authors:sublist(0,1,&)} i.e. Nonymous, Ann/Font Tester V3 - Ann Nonymous.epub For sending to device I use: Code:
eBooks/{author_sort:sublist(0,1,&)}/{title} - {authors:sublist(0,1,&)} eBooks/Nonymous, Ann/Font Tester V3 - Ann Nonymous.epub I don't include the series/series index for sending to device since my Kobo ereader handle series. The sublist(0,1&) is the key to shortening the paths for me. I already trim book titles to the basic title trimming all the crap off. One recent example was a book my spouse purchased whose title was: Fall I Want: A Heartwarming, Spicy Small-Town Romance Featuring a Billionaire's Unexpected Love, Fake Relationships, and Autumn Magic—Perfect for Fans ... Spice Café (Cozy Creek Collection Book 1) The author stated the ebook left her with the title of fall i want. Anything else was added by Amazon. Even Amazon had to trim the Perfect for Fans of multiple random authors to shorten the title. |
![]() |
![]() |
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 936
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
For export, I include genre folders, and not author name folders; that saves a lot of trouble finding and comparing works on the same topic, but either way, that can be too much to export to Android.
For transfer, Calibre includes author name folders, and includes the title and the 1st author name in the filename; since most papers have subtitles, that can be too much to import into Windows. Last edited by MarjaE; 05-11-2025 at 01:45 AM. |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,136
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I cannot stand author named directories on my Reader. I use a directory called books which I have all of my eBooks on my Reader stored. It saved the hassle of the mess author named directories can cause.
|
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,828
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Oddly, I seldom look at the directories on my ereader but I do like the author sort directories. Much like your endless whinging about Vellum where you find the code it generates overly complex, most people are content to read the books and not worry about their structure.
Though I am curious as to what mess author named directories can cause? I do limit the use to the first entry in either the author_sort or author to avoid path length issues but what issues do you find with them? |
![]() |
![]() |
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,136
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,828
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Interesting. I've use author_sort named directories for quite a few years. I just checked all the Kobo ereaders I'm currently using (Clara HD, Forma, Sage, KLC) and do not see any empty directories in the ebooks directory on any of them. Please note that since I use calibre to manage my ebooks, all deletions are done from calibre.
Fascinating that you are whinging about KOReader and empty directories. When I use KOReader, I use it's ability to search the metadata.calibre file instead of browsing through directories since so much faster and fewer taps. Are you really slowly browsing through a single directory with however many 1000s of ebook files in it rather than looking at the author sort named directories? Out of curiosity, how long have you been using KOReader as your primary reading tool? |
![]() |
![]() |
![]() |
#8 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,136
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I've been deleting eBooks from my Libra 2 since I start keep track of the reading position. But I can see many people deleting from the Kobo and leaving empty author directories (if they use calibre). Last edited by JSWolf; 05-12-2025 at 05:51 AM. |
|
![]() |
![]() |
![]() |
#9 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,828
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
A bit strange, Jon. I just sent 11 ebooks to my device that were singletons so 11 different authors. After the files were imported, I checked that I could open them. I then reconnected to calibre and deleted the files from calibre's remove matching books from device and oddly, the empty directories were also deleted. I did not test this by deleting books from the Kobo GUI since your statement above seems to say that using calibre to delete the last book in a directory does not also remove the directory.
|
![]() |
![]() |
![]() |
#10 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,136
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | |||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,828
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Quote:
Please let us know by what convoluted logic you went from one statement where you explicitly stated "I can see many people deleting from the Kobo and leaving empty author directories (if they use calibre)" to your response about using the Kobo GUI to delete files. I most certainly hope that you do realize that calibre and Kobo's GUI are not the same? |
|||
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,306
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I have submitted an enhancement request on the Kobo Utilities gitHub to add a function to clean-up empty directories.
|
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#14 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,828
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I'm assuming that you are referring to the Cleanup .opf files/folders option under Fix? It didn't find anything in my library folder on my Sage. I then tried deleting one of my test files from the Kobo GUI and the directory was cleaned up when I connected to calibre and used Quality Check:Fix.
|
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,306
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
Tags |
compatibility, file paths |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues with the Spell Check | Frenchdummy | Calibre | 4 | 02-14-2017 07:53 AM |
Check book 'omits' message about large file (File browser) | chaot | Editor | 1 | 06-02-2016 01:33 PM |
File path | JimmyG | Sigil | 1 | 02-15-2013 12:40 PM |
File Path | iceman00 | Calibre | 6 | 04-24-2010 04:35 PM |
Remove file path from PDF file | DuckDodgers | 1 | 08-13-2006 09:23 AM |