![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2012
Device: Amazon Kindle 4G
|
Save to Disc - Folder name / Filename Problems
I'm only got my Kindle yesterday and installed Calibre today. I'm having problems with the folder names / file names when using 'Save to Disc'.
In calibre->Preferences->Saving books to disc I have save template: {title} - {authors} [{publisher}, {pubdate}]/{title} - {authors} [{publisher}, {pubdate}] I have two issues as you can see below:
![]() ![]() I appreciate the issue wth the colon is because it isn't allowed in filenames but is there a way for it to insert a dash instead or just ignore the colon? I don't understand why some folders aren't named correctly, I had even greater problems when I was trying to use Author_Sort to create a directory etc. Eg, I have "Quants_ How a New Breed of Math Whizzes Conquered Waloyed It, The - Scott Patterson [Crown Business, 2010]" instead of "Quants: How a New Breed of Math Whizzes Conquered Wall Street and Nearly Destroyed It, The - Scott Patterson [Crown Business, 2010]" I really can't work out why it does this. Can anyone please help? Also I want it to create a directory with the category name so I would have e.g.: Finance\Liar's Poker - Michael Lewis [W. W. Norton, 1989] I tried the following but it didn't work: {category}/{title} - {authors} [{publisher}, {pubdate}]/{title} - {authors} [{publisher}, {pubdate}] Is there any way I can implement this? Many thanks for your help! Last edited by Distorted Vision; 02-18-2012 at 03:34 PM. |
![]() |
![]() |
![]() |
#2 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2012
Device: Amazon Kindle 4G
|
Many thanks BookJunkieLI. I tried:
{#category}/{title} - {authors} [{publisher}, {pubdate}]/{title} - {authors} [{publisher}, {pubdate}] but it doesn't work. I created the categories with 'Manage User Categories' as in the screenshot: ![]() Any ideas how to get this to work? Since I will be creating many categories to organise my ebooks. Also with regard the long titles, is this a bug in Calibre? I don't see why it can't handle folder names that length. I edited the metadata in bulk and this is one of the main reason I decided to use Calibre. I really don't want to have to started manually editing folder / file names. Do you have any suggestions re: colon / underscore issue? Many thanks! |
![]() |
![]() |
![]() |
#4 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
In Windows, there is a 260 character limit on the entire path. So that might be why Calibre shortens the filename. A way to test this would be to "Save to Disk" into a folder very close to the root, e.g. C:\eBooks. If this allows longer filenames, the Windows limit is your problem.
|
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
On the Title length as Wallcraft said, again this is a Windows issue. Most of the time it wouldn't be an issue but you have it appearing as both part of the folder name *and* the filename therefor effectively doubling the length. My suggestion would be to drop it out of the Folder name if you don't want to edit the title. Since you created the category using the User Categories Editor if you change the # to @ that should work. I don't use the User Categories Editor myself so I'm not 100% sure that will fix it for you. Hope that helps. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2012
Device: Amazon Kindle 4G
|
Thanks. I tried:
{@category}/{title} - {authors} [{publisher}, {pubdate}]/{title} - {authors} [{publisher}, {pubdate}] and it didn't work. I'm not sure where I'm going wrong. |
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,913
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
deleted
|
![]() |
![]() |
![]() |
#8 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
I'm not a programmer so someone with more technical know-how can probably give you a better answer but I think that the categories created using the User Category Editor are essentially internal categories only, they're not exportable from Calibre. I think what you want/need to set up is a custom column that either uses a single level tag system or one that uses a hierarchy system. Using option A you'd create a custom column called Categories by going to Preferences->Add Your Own Columns. Name your new column categories in both fields and then select (Text, column shown in the tag browser). Each book would then be labelled with a single tag - Finance, Economics, etc. You would then use {#categories} in your save to disk template and it would return Finance\Liar's Poker - Michael Lewis [W. W. Norton, 1989]\Liar's Poker - Michael Lewis [W. W. Norton, 1989]. Or if you wanted option B follow the same steps - Preferences->Add Your Own Columns, name the column Categories, only choose (Comma-separated text, like tags, shown in the tag browser). Click Okay, Apply, Close, and then restart Calibre. Go to Preferences -> Look and Feel -> Tag Browser and enter the lookup name #categories into the “Categories with hierarchical items” box. Press Apply, and you are done with setting up. You would then give your books tags like - Finance.Textbook. This time when you do the Save To Disk export it will return Finance.Textbook\Liar's Poker - Michael Lewis [W. W. Norton, 1989]\Liar's Poker - Michael Lewis [W. W. Norton, 1989] If you're concerned at this point about having to go in and populate this custom column it's actually pretty easy. Once you have the column setup just select all books that you want to have a particular tag then click Edit Metadata and it will bring up the Bulk Edit screen. Click Custom Metadata at the top and then enter the tag into the correct column field. Click Okay and all of those books will now have that tag. Hope that helps. |
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,339
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I am not sure what you want to have happen in your template but I (think I) agree with BookJunkieLI: it is similar to assigning books to one or more genres. The document Managing subgroups of books, for example “genre” might help you. |
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2012
Device: Amazon Kindle 4G
|
BookJunkieLI, I fixed the issue with the underscores in the filenames by following your suggestion and dropping the foldername from the save template. I decided to abort trying to get the categories / columns to create the directory since its alot of effort to do something which I can do manually. I just do save to disc rather than send to device and copy it to the Kindle in Windows Explorer.
I have unchecked 'Save cover seperately' and 'Save metadata in OPF file' so I am just copying the pdf or mobi file. Am I correct that the cover image and .opf aren't used by the Kindle and so it serves no purpose in copying them onto the device? Also still not been able to find a way to deal with the underscore in place of colon issue. I can rename the files easily all at once using Flash Renamer but the problem is that Calibre does not recognise that some of the books are on the device. Also I had pretty disasterous results trying to convert all my textbooks to mobi format. I think this partly due to the fact that many contained complex mathematical equations, diagrams and tables etc. The problem I have found is that the text in the pdf versions are too small to make reading anything more than a few paragraphs practical. Does anyone have any other suggestions. I read that there is a new PDF conversion for Calibre in development. Any news on this? Many thanks for your help! |
![]() |
![]() |
![]() |
#11 | ||||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
Quote:
Quote:
Quote:
![]() |
||||
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Correct. The Kindle will not use them. Kindle (MOBI, AZW, ...) files contain their own internal cover and what metadata the Kindle device or app will use.
|
![]() |
![]() |
![]() |
#13 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 15776
Join Date: Dec 2011
Device: PB912 Matt White
|
I have also a problem with inserting the character "+" into the file path.
Although it is a valid character for a folder name, Calibre replaces it with "_". I tried to escape or to quote it, but it didn't work. |
![]() |
![]() |
![]() |
#14 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,913
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It means concatenate the 2 files file1.txt+file2.txt>fileboth.txt will result in a single (additional) file containing both |
|
![]() |
![]() |
![]() |
#15 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
If this is something you need/want to change in a large number of files you could use Bulk Rename Utility. It can process a whole folder full of files and replace any pattern of characters with any other set. It can also do a large number of other bulk renaming functions. Its a handy tool to have in your kit. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How and why to save Calibre books to Disc? | polli | Related Tools | 12 | 01-12-2012 10:33 AM |
Can't Save to Disc | MickeyC | Calibre | 2 | 10-16-2011 09:54 AM |
title in save to disc | pcalv | Library Management | 9 | 08-04-2011 07:11 AM |
marking books 'biography' and 'read' to put in same folder on 'save to disc' | madeirabhoy | Library Management | 1 | 07-09-2011 12:59 PM |
0.7.1 Save to Disc function fixed? | grizedale | Calibre | 9 | 06-07-2010 04:49 PM |