View Single Post
Old 05-20-2016, 01:01 PM   #16
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Quote:
Originally Posted by chaley View Post
This is complicated.

The answer depends on what you have chosen in CC's Settings / File names. To quote the FAQ on this subject
My guess is that you haven't checked any of the boxes. Because you are using the cloud connection, the default template is which does not use subdirectories. You can easily verify this by looking in the CC folder on your SD card.

I further guess is that you want to use something like the third template from the experiment described in the FAQ answer. That template creates a 3-level hierarchy. The first level is the first letter from the first author's name. I used that because all my authors are LN, FN. If your authors are FN LN then you might choose first_author_sort instead of first_author. The second level is the first author. As before, you might choose first_author_sort. The third is the title - author.

The goal of the exercise is to keep the number of file/directory entries in any given directory as small as possible. To that end, depending on the books in your library, you might choose to use the first letter of title_sort instead of the author for the first level. You would do this if the distribution of books-by-author isn't good (lots of clustering) but the distribution by title is better. You can get an idea of the clustering using the tag browser in calibre: group authors and title by first letter. You could also choose to use 2 letters in the first level, but that runs the risk of creating hundreds of directories at the top level, defeating the purpose of the exercise. Finally, you could choose to add a fourth level: perhaps the first letter of the title (or title_sort) or perhaps the two-letter author just below the top level containing the first letter of the author.
This is working great! Thank you!
Edit:
I added a fourth level to the template:
{first_author:%1.1s}/{first_author}/{title:%1.1s}/{title} - {authors}

Then I ran into the path length limit for some books with long titles. I manually saved those to the CC book folder and the next wireless sync they got added to the CC data base.

Last edited by gsparks2; 05-22-2016 at 11:31 AM.
gsparks2 is offline   Reply With Quote