![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 32324
Join Date: Jul 2010
Device: Sony PRS-T1
|
Semicolons in file names and backing up
Since I bought a new reader, I have been using Calibre to convert all of my ebooks to ePub.
As part of this process, I have corrected or entered the metadata for author and author_sort using semicolons to separate the names of co-authors, for example: {Drake ; Flint} , {Evans ; Weber} (I leave off the first names of the authors, because it doesn't come out correctly on my reader. Or at least, I can't get the reader itself to sort and display the books the way I want.) Today, I decided to back up the many hours of work that have gone into this project so far. So I saved my entire Calibre library to a temporary directory on my hard disk. Then I tried to burn the exported files to DVD. This failed, because the joliette naming convention prohibits the use of semicolons in file names in data CDs/DVDs (Or at least that's what Roxio Creator told me.) To get around this, I found and downloaded a utility program from the interrnet (Advanced Renamer (highly recommended by me)) and did a bulk search and replace on the filenames in my temporary location. That is, I changed all ";" to "[SC]". This "worked" but I could do without the hassle. I can't really see a better solution for this since the ePub standard seems to want me to use semicolons to separate authors names, and the joliette standard wants me to not use semicolons at all. I could, of course back up to another hard disk, but I wanted DVDs, because they are cheap. I could adjust the file naming template in "preferences" to leave off the author and the author_sort fields, but that 'cure' is worse than the problem. Have other people had this problem? Is there a better solution than the one I found? Is this even the right way to make a backup? Should I be using "calibre-portable.bat" to put the library onto a USB stick? Thanks Gary |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Calibre builds compliant OPF from author names, so you don't need to worry about adding semicolons. I suggest that you enter authors in a 'normal' way and let calibre worry about the making OPF files. Of course, the question that then arises is 'what is normal'? Calibre supports authors in either 'first last' or 'last, first' format. If you pick 'last,first', then you need to set a 'tweak'. Look at preferences -> advanced -> tweaks tab to see the variable and the choices. I see you have a Sony. The calibre Sony driver can be told to use author_sort instead of author when writing the Sony DB. This is useful if you use 'first last' order, because the authors will be in 'last, first' order on your Sony. |
|
![]() |
![]() |
![]() |
#4 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 32324
Join Date: Jul 2010
Device: Sony PRS-T1
|
Quote:
Calibre had no trouble with any alternative. All alternatives with 3 or 4 names seemed to screw up the author sort IN THE SONY READER once I got the books transferred over. Finally, I came to the conclusion that the best way to deal with the limitations of the Sony Reader was to use only 2 names, i.e. {LN1 ; LN2}. Again, calibre seems to have no trouble with this system, and more importantly the Sony Reader can grasp it. This, however, is off the topic off my initial question. Can anyone give me any advice on how to back up my calibre library onto CD and/or DVD disks, when the CD/DVD system won't tolerate semicolons in file names? I suppose one solution might be to change my file naming system to something that doesn't use semicolons, but (a) I quite like my current naming system, (b) its another pile of work, and (c) having already tried every option I could think of, I would need someone to explain exactly what should go in the author and author_sort metadata fields that can be correctly handled by the Sony Reader, after I have loaded my books and disconnected the reader from the computer. Gary |
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I use LN, FN author names. To do this, I: 1) set the tweak author_sort_copy_method = 'copy' 2) enter all authors in the 'ln, fn' format. For example, David Weber is entered 'Weber, David' (no quotes). 3) Multiple authors are entered with & between the authors. 4) Author_sort is (mostly) automatically computed. With 400 authors, I have around 5 exceptions. 5) I checked 'use author sort for author' in the Sony device customization. 6) I use Automatic metadata management, so that my Sony shows the latest of my edits without me needing to resend books. Given these settings, my PRS-300 shows me: 1) push the 'by author' button. I see 'Weber, David' and a set of titles in order. 2) push the 'by title' button. I see titles in title order, with author shown like 'Weber, David' 3) push the 'collections button' and select a collection. I see titles of books, with author 'Weber, David. The order of the books is either in series order or title order, depending on the collection. If a book has multiple authors, then I see all of them. For example, for one book I see 'Weber, David & Flint, Eric & Drake, David'. I do not see the book under individual authors. Is that 'correct'? To respond to your original question: the best way to back up your library is to do what starson17 suggested: back up the folder containing your library. There is no particular reason you should save to disk first, and several reasons why you shouldn't. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
By doing it this way, none of your file names will have semicolons. The multiple author data will all be stored in the Calibre database.
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Experimentation shows that if the someone actually enters semicolons into the author names, then they will be included in the path in the library. I tried this, changing an author from 'A, B' to 'A; B' and voila(!) 'A; B' appeared as a folder in my library tree. One could argue that calibre's path sanitization should prevent this, but currently it doesn't. One way out of this is to zip the library folder first, then write that zip to the DVD. And hope that the DVD is large enough... Another way out is to not use ';' in author names, but that is a matter-of-preference for the OP. |
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I see. I failed to fully grok he was intentionally entering multiple authors with semicolons directly into Calibre. I thought he was entering them with the standard "&" or other Calibre multi-author separator. With the semicolon, I don't think Calibre sees multiple authors.
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I can't say that what the OP is trying to do is 'wrong'. It is what he wants to do so by definition it is right, but unfortunately, calibre's and the OP's notions of 'right' aren't the same. Changing calibre to accept semicolon-separated author lists is possible, but probably not on a developer's 'I will take that on' list. |
|
![]() |
![]() |
![]() |
#10 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 32324
Join Date: Jul 2010
Device: Sony PRS-T1
|
I would like to apologize to anyone who has bothered to read this thread.
After some time spent searching through various threads and posts, I now understand that Calibre is designed to use the ampersand ( & ) character to link multiple authors, not a semicolon. People who are using Calibre as intended should have no problems backing up their library to CD/DVD. The strange work-around I am using to make the Sony reader sort my eBooks as I want them to be sorted; and the problems that this work-around are causing me; are not Calibre problems. They should not have been raised in this forum. I will carefully ready all of your replies to see if I can come up with a better 'work around' or if I need one at all. Thank you. Once again, I apologize. Gary Young |
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
My Sony 600 seems fine with an & but maybe I have lower standards.
|
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
In addition, the semicolon in a file name problem can be considered a bug. At least we know about it now. |
|
![]() |
![]() |
![]() |
#13 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,887
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
That's why there are beta testers. Users try the weirdest things ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
File names in other language | doremifaso | PocketBook | 9 | 06-18-2010 12:09 PM |
Configuration of File Names | Desertway | Calibre | 4 | 03-07-2010 07:16 PM |
Cool-er file names | Kooper35 | Interead COOL-ER | 5 | 02-02-2010 02:47 PM |
File Names | Vulcan | Sony Reader | 4 | 01-02-2009 04:03 PM |
File Names in Calibre | jimbo | Calibre | 6 | 07-19-2008 09:21 PM |