06-26-2019, 05:43 PM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: Kindle Gen 8
|
[MacOS] Save question marks and ellipses on disk
Hi all. I have not been able to find the right thread because I do not speak English (this is a translation from Spanish) and I have a question that I hope will not be repeated. In the forum in Spanish I have not been able to solve it.
I work with Caliber for Mac and I want to save my caliber library on disk and use this simple save template: {authors}/{series}/{title}/{title} - {authors} Does the saved as I like it and goes almost all good except with the interrogations (?) And ellipsis (...). The problem is that as caliber cleans and cleans some special characters of titles, such as bars and some others, when I try to save a title with question marks or ellipses (there are!) I replaced them with underscores, for example the title : "Hello? Friends... - John Kindle.mobi" would keep it as "Hello_ Friends_ . John Kindle.mobi". What do I have to modify in the template so that this does not happen? Thank you. Last edited by BetterRed; 06-27-2019 at 09:07 AM. |
06-26-2019, 06:04 PM | #2 |
Well trained by Cats
Posts: 30,303
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You can't.
The reason Calibre does this is because those characters are not valid for file names. Additionaly: ? is the wildcard for a single character match. * is the match anything wild card. : is a special character to seperate devices eg C:, COM1: |
Advert | |
|
06-26-2019, 06:42 PM | #3 |
null operator (he/him)
Posts: 20,880
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Yako - how is the disk you are saving to formatted?
If its a thumb drive it may be FAT32 in which case the characters .|\?*<":>/ are reserved. Calibre will substitute an underscore '_' for those when you Save to (a FAT formatted) Disk. And is the ellipsis a real one or three dots? Even on Windows you can use a real ellipsis, but not three dots. BR |
06-27-2019, 12:31 AM | #4 |
Bibliophagist
Posts: 39,094
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Since calibre is designed to work on multiple operating systems, it avoids using special characters from any of the supported operating systems. You might want to check Wikipedia's Filename entry with attention to the Reserved characters and words section on.
|
06-27-2019, 08:41 AM | #5 | |
Member
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: Kindle Gen 8
|
Quote:
|
|
Advert | |
|
06-27-2019, 08:42 AM | #6 | |
Member
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: Kindle Gen 8
|
Quote:
|
|
06-27-2019, 09:06 AM | #7 | |
null operator (he/him)
Posts: 20,880
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
You can use the MacOS Disk Utility to find out which file system the drive is formatted to use - I thought calibre's Save to Disk conformed to the target file system in respect to allowable characters, file name lengths etc. And in HFS+ anything but NUL is allowable. My Linux laptop died so I only have Windows. What happens if you do a Save to Disk to the system drive. Last edited by BetterRed; 06-27-2019 at 09:09 AM. |
|
06-27-2019, 10:47 AM | #8 |
creator of calibre
Posts: 44,288
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use an actual ellipsis character instead of three dots and you will be fine.
|
06-27-2019, 03:22 PM | #9 | |
Member
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: Kindle Gen 8
|
Quote:
This is the external hard drive format where I keep APFS volume • APFS And this is the internal disk format of the mac I tried to save in the intern and the exact same thing happens: ? = _ ¿ = _ ...a = _.a a... = a._ ! ¡ = ! ¡ (This is fine) I think it has no solution and I do not want to bother anymore. Thanks for bothering to answer me. |
|
06-27-2019, 03:33 PM | #10 | |
Member
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: Kindle Gen 8
|
Quote:
The fact is that books have titles like this for example: ¿Amnesia ...?.mobi and returns this _Amnesia_._.mobi The truth is that writers title books as they want, of course, and we can not do anything with that. I have more than a thousand books with a mixture of these types of characters that are going to be saved badly. What strikes me is that it has imported them well with all the correct characters in my language (es) |
|
06-27-2019, 03:34 PM | #11 |
Member
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: Kindle Gen 8
|
|
06-27-2019, 06:03 PM | #12 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
|
06-27-2019, 06:46 PM | #13 |
null operator (he/him)
Posts: 20,880
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FWIW - on Windows I can save this book:
With this template {authors} - {title}, And get this: FTR the library filename is: _Hello_. World! - Anat Admati.epub I must admit to being confused: I've always thought file naming rules were less restrictive on MacOS than on Windows because of its Unix heritage. Windows inherited its conventions from DOS/CPM/RT-11. But I also thought Apple's file system was known as HFS+ - is APFS just a new badge for HFS+, or something entirely different, like MS's ReFS. BR Last edited by BetterRed; 06-27-2019 at 06:48 PM. |
06-27-2019, 07:02 PM | #14 | |
Well trained by Cats
Posts: 30,303
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
06-27-2019, 08:04 PM | #15 |
null operator (he/him)
Posts: 20,880
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cailbre basic code question-save to disk sort | dnm43 | Calibre | 1 | 02-14-2016 02:13 AM |
Save to Disk Question | remus.grrrl | Library Management | 5 | 09-11-2012 10:31 PM |
Save to Disk format Change question | Angelclaud | Library Management | 2 | 06-05-2012 10:55 PM |
Save to disk question | Jabby | Calibre | 2 | 08-25-2010 12:09 PM |
Save to disk question | Amalthia | Calibre | 2 | 08-16-2010 06:17 PM |