Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 12-16-2013, 03:37 AM   #1
ringy
Junior Member
ringy began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Laser eb370
input and output filenames

Sorry if this elsewhere, I unsuccesfully searched for it, honest

All I want is the output file name (structure) to be the same as the input filename. I have tried putting simple stuff in the Save to disk layout, but nothing seems to change from the default.

Is there some switch to tell Calibre to use the 'new' output format that I am missing in Preferences??
ringy is offline   Reply With Quote
Old 12-16-2013, 04:57 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: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by ringy View Post
All I want is the output file name (structure) to be the same as the input filename. I have tried putting simple stuff in the Save to disk layout, but nothing seems to change from the default.
Exactly what are you trying to do?
Are you converting via the command line?
Converting via the GUI?
Adding books via the Gui or command line?

The Save to disk feature is only used for exporting books from the library.

Quote:
Originally Posted by ringy View Post
Is there some switch to tell Calibre to use the 'new' output format that I am missing in Preferences??
If you are referring to books being added to the library then you are not missing anything since the format of the files in the library database structure are not user configurable.
DoctorOhh is offline   Reply With Quote
Advert
Old 12-16-2013, 07:25 PM   #3
ringy
Junior Member
ringy began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Laser eb370
I am using v1.15 to convert from .mobi to .epub - nothing fancy
by single or block conversion
The Adding books expression is set as
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?

I have not changed this


the calibre screen shows
title Authors Date Size (MB) Tags
Dirk Gently's Holistic Detective Agency Adams, Douglas 16 Dec 2013 0.1

Series
Dirk Gently


The save to disk format is currently
{author}/{series:||/}{title} - {series}{series_index:0>2s| -|- }{author}

The output in the kindle calibre library
has a folder Adams, Douglas
with a subfolder Dirk Gently's Holistic Detective Ag (356)
and a file Dirk Gently's Holistic Detectiv - Adams, Douglas.epub

what I would like would be:
Adams, Douglas>Dirk Gently>01 Dirk Gently's Holistic Detective Agency.epub

which is what I think thw Save to disk format implies
ringy is offline   Reply With Quote
Old 12-16-2013, 09:43 PM   #4
JimmyR
ɴₐɴ
JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.
 
JimmyR's Avatar
 
Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
The Save to Disk template doesn't change how Calibre stores files in its library. It's applied when you use the "Save to disk" button or context menu item to export books from the library.

https://www.mobileread.com/forums/sho...d.php?t=119175

Last edited by JimmyR; 12-16-2013 at 09:46 PM.
JimmyR is offline   Reply With Quote
Old 12-16-2013, 10:14 PM   #5
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: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
whats more '>' is not allowed in a file name. Never has.
'>' means Concatenate the files to windows (and DOS) and Linux
theducks is offline   Reply With Quote
Advert
Old 12-16-2013, 10:46 PM   #6
JimmyR
ɴₐɴ
JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.
 
JimmyR's Avatar
 
Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
I think ringy is using ">" as a path separator in his post, not as actual characters in the filename. His template seems ok.*

Adams, Douglas/Dirk Gently/01 Dirk Gently's Holistic Detective Agency.epub

Edit:
Quote:
what I would like would be:
Adams, Douglas>Dirk Gently>01 Dirk Gently's Holistic Detective Agency.epub
This point is moot since it doesn't change how Calibre saves files to the library but, the template should be:
{author_sort}/{series:||/}{series_index:0>2s||} {title}

{author} instead of {author_sort}

Last edited by JimmyR; 12-16-2013 at 11:32 PM. Reason: Add info - correction
JimmyR is offline   Reply With Quote
Old 12-17-2013, 07:17 PM   #7
ringy
Junior Member
ringy began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Laser eb370
Brilliant Jimmy-Jim

It was my misunderstanding of the way Calibre performs its actions - did not realise a conversion went into a library where you had to pull it out to get what you want - its odd (and slightly confusing) though, why Calibre truncates strings
Anyway, I am sorted and can build my own library of epubs by author/series/etc......

many thanks also to DoctorOOH
ringy is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Errno 5] Error of input/output Chris_Leo Calibre 6 08-12-2013 01:29 AM
Plugin which uses net as input and output medve Development 0 12-04-2011 03:20 PM
Output profile and Input encoding questions Amalthea Conversion 2 03-24-2011 12:21 PM
bookmarks in PDF input, and TOC in output pimpoum Calibre 3 12-14-2010 12:21 PM
Input/Output error tulsa Calibre 9 04-11-2010 10:51 AM


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


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