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 01-14-2011, 08:57 PM   #1
mdb5972
Member
mdb5972 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2011
Device: Sony PRS350
Library name as calibre template variable

Having multiple libraries for various tasks. Is there a 'template variable' that I can use to ouput the library name for 'Save to Disk'?

Thanx
mdb5972 is offline   Reply With Quote
Old 01-14-2011, 09:25 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,500
Karma: 5567061
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by mdb5972 View Post
Having multiple libraries for various tasks. Is there a 'template variable' that I can use to ouput the library name for 'Save to Disk'?

Thanx
You DO NOT use "Save to Disk" to write to the Library, so why do you need the Library name?

Are you trying to indicate which Library the book came FROM? You could create a tag or custom field with the Library name bulk inserted.
theducks is offline   Reply With Quote
Old 01-14-2011, 09:52 PM   #3
mdb5972
Member
mdb5972 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2011
Device: Sony PRS350
Currently I have multiple Calibre libraries based on task/purpose and a few distinct custom columns.
ie of libraries. LIBRARY, VENDOR, TECH, WORK.. etc.

I use save to disk for backup purposes, update metadata in file, and a few other BFI methods. Looking to have a single area, ie folder 'SaveToDisk' that I can have them all export to.

Looking to template SaveToDisk with the Library name as a variable.
mdb5972 is offline   Reply With Quote
Old 01-14-2011, 10:07 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,500
Karma: 5567061
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by mdb5972 View Post
Currently I have multiple Calibre libraries based on task/purpose and a few distinct custom columns.
ie of libraries. LIBRARY, VENDOR, TECH, WORK.. etc.

I use save to disk for backup purposes, update metadata in file, and a few other BFI methods. Looking to have a single area, ie folder 'SaveToDisk' that I can have them all export to.

Looking to template SaveToDisk with the Library name as a variable.
got it.. The developers might have an answer.

You CAN use a literal in the template
My_lib/{authors}-{title}
is valid
you might also consider the command-line interface (see help page)
theducks is offline   Reply With Quote
Old 01-14-2011, 10:23 PM   #5
mdb5972
Member
mdb5972 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2011
Device: Sony PRS350
Have not used the the literal, same/similar to creating a directory. Was curious if there was already a way to access as a variable.

Appreciated
mdb5972 is offline   Reply With Quote
Old 01-15-2011, 03:49 AM   #6
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,264
Karma: 821512
Join Date: Jan 2010
Location: France
Device: Many android devices
One problem: libraries don't have names. They have file paths, and that isn't what you want.

Shorter answer: no, there isn't any way to get the library path as a template variable.
chaley is offline   Reply With Quote
Old 01-15-2011, 03:09 PM   #7
mdb5972
Member
mdb5972 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2011
Device: Sony PRS350
Thank you.
mdb5972 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
Stupid question about calibre language template Cammagno Calibre 1 01-08-2011 08:00 AM
How to direct Library books to Calibre instead of Sony Reader Library onebookie Calibre 3 07-19-2010 11:31 AM
Compare calibre library with ereader library Danthier Calibre 3 06-15-2010 11:58 PM
remove PDF footer containing variable? irisclara Calibre 10 03-06-2010 10:53 PM


All times are GMT -4. The time now is 04:29 PM.


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