Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-27-2013, 05:37 AM   #1
jlynton
Addict
jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.
 
Posts: 319
Karma: 142186
Join Date: Feb 2012
Device: aura h2o
Save to disc

I am trying to make calibre save to disc feature save the files to a (linux) hidden directory using this template:
/.books/{author_sort[0]}/{author_sort}/{series}/{series_index}/{authors} - {title}
All works well, except that instead of creating a directory called .books, it creates one called _books (with an underscore rather than a dot). I have tried deleting the leading slash from the template, but the result is the same.

Can anyone help me with this?
jlynton is offline   Reply With Quote
Old 09-27-2013, 05:59 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by jlynton View Post
Can anyone help me with this?
I'm not at my calibre install currently, but I recall a setting in preferences under Saving books to disk that if checked will change . to _ set this option accordingly and you should be OK.
DoctorOhh is offline   Reply With Quote
 
Advertisement
Old 09-27-2013, 06:19 AM   #3
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,983
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by DoctorOhh View Post
I'm not at my calibre install currently, but I recall a setting in preferences under Saving books to disk that if checked will change . to _ set this option accordingly and you should be OK.
There's something for changing space (' ') to underscore, but I can't see anything for dot ('.')

It may be that Windows and/or FAT32 wont allow a folder or file name to commence with a dot - a case of the the lowest common denominator prevails (a'la the no RTL chars in library folder & file names)

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	79
Size:	62.9 KB
ID:	112257  
BetterRed is online now   Reply With Quote
Old 09-27-2013, 06:20 AM   #4
alicepattinson
Suspended
alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.alicepattinson ought to be getting tired of karma fortunes by now.
 
Posts: 155
Karma: 2564052
Join Date: Jan 2013
Device: Kindle Fire
I'm also searching for the answer for this. Thank you @DoctorOhh
alicepattinson is offline   Reply With Quote
Old 09-27-2013, 06:30 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
[QUOTE=BetterRed;2637305]There's something for changing space (' ') to underscore, but I can't see anything for dot ('.') /QUOTE]

Unless there is a tweak, I guess I was remembering the setting you found.

Quote:
Originally Posted by jlynton View Post
I am trying to make calibre save to disc feature save the files to a (linux) hidden directory using this template:
/.books/{author_sort[0]}/{author_sort}/{series}/{series_index}/{authors} - {title}
I guess you just have to have the .books directory created first, then save to that directory using the rest of the template.

Last edited by DoctorOhh; 09-27-2013 at 06:33 AM.
DoctorOhh is offline   Reply With Quote
Old 09-27-2013, 06:40 AM   #6
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,983
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by DoctorOhh View Post
Quote:
Originally Posted by BetterRed View Post
There's something for changing space (' ') to underscore, but I can't see anything for dot ('.')
Unless there is a tweak, I guess I was remembering the setting you found.
I did have a look, but I've been known to miss seeing tweaks before.
BetterRed is online now   Reply With Quote
Old 10-04-2013, 06:33 AM   #7
jlynton
Addict
jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.
 
Posts: 319
Karma: 142186
Join Date: Feb 2012
Device: aura h2o
Quote:
Originally Posted by DoctorOhh View Post
I guess you just have to have the .books directory created first, then save to that directory using the rest of the template.
Ok, I can do that, but is there a way to have calibre tell me which of the books are already on the card?
jlynton is offline   Reply With Quote
Old 10-04-2013, 09:24 AM   #8
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,124
Karma: 5735944
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
You can attach to a folder as if it is a device. Then you can use all the functions that calibre has to maintain book collections on devices to maintain the collection on the card. Automatically update metadata, add and remove, and use the "on device" column.

http://manual.calibre-ebook.com/gui.html#connect-share

Not sure if it works with hidden folders starting with a dot.

Last edited by Adoby; 10-04-2013 at 09:30 AM.
Adoby is offline   Reply With Quote
Old 10-13-2013, 03:14 AM   #9
jlynton
Addict
jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.
 
Posts: 319
Karma: 142186
Join Date: Feb 2012
Device: aura h2o
Quote:
Originally Posted by Adoby View Post
You can attach to a folder as if it is a device. Then you can use all the functions that calibre has to maintain book collections on devices to maintain the collection on the card. Automatically update metadata, add and remove, and use the "on device" column.

http://manual.calibre-ebook.com/gui.html#connect-share

Not sure if it works with hidden folders starting with a dot.
Thanks for the suggestion but when I connect the kobo, the "connect to folder" option is greyed out.
jlynton is offline   Reply With Quote
Old 10-13-2013, 03:25 AM   #10
jlynton
Addict
jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.
 
Posts: 319
Karma: 142186
Join Date: Feb 2012
Device: aura h2o
sorry, double post

Last edited by jlynton; 10-13-2013 at 03:30 AM. Reason: double post
jlynton is offline   Reply With Quote
Old 10-13-2013, 03:29 AM   #11
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 6,090
Karma: 6238033
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by jlynton View Post
Thanks for the suggestion but when I connect the kobo, the "connect to folder" option is greyed out.
I think that is because calibre can only have one device connected at a time. To use "connect to folder" for a device that calibre has a driver for, you would need to disable the driver.
davidfor is offline   Reply With Quote
Old 10-15-2013, 06:56 AM   #12
jlynton
Addict
jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.
 
Posts: 319
Karma: 142186
Join Date: Feb 2012
Device: aura h2o
Quote:
Originally Posted by davidfor View Post
I think that is because calibre can only have one device connected at a time. To use "connect to folder" for a device that calibre has a driver for, you would need to disable the driver.
David, I tried to disable the kobo driver, but calibre still detected it, and the "connect to folder" option was still greyed out.
jlynton is offline   Reply With Quote
Old 10-15-2013, 07:07 AM   #13
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by jlynton View Post
David, I tried to disable the kobo driver, but calibre still detected it, and the "connect to folder" option was still greyed out.
After you disable the driver restart calibre.

If it still connects then disable the other Kobo driver. I quick look makes me think you need to disable the KoboTouch driver, but if that doesn't work I would disable both just to be certain.

Last edited by DoctorOhh; 10-15-2013 at 08:17 AM. Reason: sp
DoctorOhh is offline   Reply With Quote
Old 10-15-2013, 08:15 AM   #14
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 6,090
Karma: 6238033
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by DoctorOhh View Post
After you disable the driver restart calibre.

If it still connects then disable the other Kobo driver. I quick look makes me think you need to disable the KoboTouch driver, but if that does work I would disable both just to be certain.
I just did a quick test, and you are right. Disable the KoboTouch driver, and the extended driver if it is installed, and then restart calibre. Then I was able to connect to he Glo's drive as a folder and see the books in calibre.
davidfor is offline   Reply With Quote
Old 10-15-2013, 12:37 PM   #15
jlynton
Addict
jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.jlynton is my North, my South, my East and West.
 
Posts: 319
Karma: 142186
Join Date: Feb 2012
Device: aura h2o
DoctorOhh & davidfor, thank you both so much! I did what you said, and having adjusted the template in "Preferences" -> "Sending books to devices", it works perfectly.
jlynton is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple 'save to disc' templates? redscarlett Library Management 12 09-09-2013 01:43 PM
How and why to save Calibre books to Disc? polli Related Tools 12 01-12-2012 11:33 AM
Can't Save to Disc MickeyC Calibre 2 10-16-2011 10:54 AM
title in save to disc pcalv Library Management 9 08-04-2011 08:11 AM
0.7.1 Save to Disc function fixed? grizedale Calibre 9 06-07-2010 05:49 PM


All times are GMT -4. The time now is 04:05 AM.


MobileRead.com is a privately owned, operated and funded community.