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 07-12-2011, 01:00 PM   #1
over1
Junior Member
over1 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2011
Device: none
Preserving Filenames

Hi everyone,

The filenames of my e-books are in a particular format I like, that is {author_inverted} - {title} ({year}) or {author_inverted} - {series} - {title} ({year}) but calibre changes the filenames to {title} - {author}

How can I keep my filenames intact?

The closest I got with save to disk was {authors} - {title} ({pubdate}) but this isn't what I want.
over1 is offline   Reply With Quote
Old 07-12-2011, 01:13 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: 15,306
Karma: 6022735
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by over1 View Post
Hi everyone,

The filenames of my e-books are in a particular format I like, that is {author_inverted} - {title} ({year}) or {author_inverted} - {series} - {title} ({year}) but calibre changes the filenames to {title} - {author}

How can I keep my filenames intact?

The closest I got with save to disk was {authors} - {title} ({pubdate}) but this isn't what I want.
Have you read the 2nd sticky in the Library Management section?

{author_sort} is the normal Inverted of {authors}
{series} is, well {series}

The Template language has advanced date manipulation capability http://manual.calibre-ebook.com/template_lang.html
theducks is online now   Reply With Quote
 
Advertisement
Old 07-12-2011, 01:35 PM   #3
over1
Junior Member
over1 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2011
Device: none
It's a shame there no option to keep filenames intact when adding books cause that's what I wanted.

Thanks. I'll check it out. I should manage.
over1 is offline   Reply With Quote
Old 07-12-2011, 04:41 PM   #4
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,430
Karma: 46459035
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Take a look at http://www.mobileread.com/forums/sho...d.php?t=119175

Basically, you should treat the filenames and locations where Calibre stores the ePubs as a black box that you don't look in.
PeterT is online now   Reply With Quote
Old 07-12-2011, 04:44 PM   #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,909
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by over1 View Post
The filenames of my e-books are in a particular format I like, that is {author_inverted} - {title} ({year}) or {author_inverted} - {series} - {title} ({year}) but calibre changes the filenames to {title} - {author}

How can I keep my filenames intact?
As theducks has pointed out in this sticky post the database keeps the files named for its use and can't be altered. However as you have already discovered you can export books via the Save to disk feature in any way you wish.

Quote:
Originally Posted by over1 View Post
The closest I got with save to disk was {authors} - {title} ({pubdate}) but this isn't what I want.
Try the below code in your save template under Preferences - Saving Books to disk it should give you the format you requested.

Code:
{author_sort} - {series:||-}{series_index:re(^(\d)(\.|$),0\1\2)||-}{title} ({pubdate})
DoctorOhh is offline   Reply With Quote
Old 07-13-2011, 04:14 AM   #6
over1
Junior Member
over1 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2011
Device: none
Nice! Thanks for these! I'm starting to get the hang of this.

Cheers mates!
over1 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
Preserving Indentation zaph0d Conversion 5 05-30-2011 05:41 PM
preserving metadata on kindle 3 hilty Library Management 1 05-30-2011 03:40 PM
Preserving smart quotes petkusj Writers' Corner 3 05-10-2011 03:49 AM
Filenames to metadata, preserving filenames. nitrogun Calibre 5 09-13-2010 11:50 PM
Preserving Formatting through conversion? Ham88 PDF 16 08-31-2009 03:22 AM


All times are GMT -4. The time now is 03:25 PM.


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