Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2011, 12: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, 12:13 PM   #2
theducks
Well trained by Cats
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: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
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 offline   Reply With Quote
Advert
Old 07-12-2011, 12: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, 03:41 PM   #4
PeterT
Grand Sorcerer
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: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Take a look at https://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 offline   Reply With Quote
Old 07-12-2011, 03: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: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, 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
Advert
Old 07-13-2011, 03: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


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preserving Indentation zaph0d Conversion 5 05-30-2011 04:41 PM
preserving metadata on kindle 3 hilty Library Management 1 05-30-2011 02:40 PM
Preserving smart quotes petkusj Writers' Corner 3 05-10-2011 02:49 AM
Filenames to metadata, preserving filenames. nitrogun Calibre 5 09-13-2010 10:50 PM
Preserving Formatting through conversion? Ham88 PDF 16 08-31-2009 02:22 AM


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


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