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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-16-2013, 04: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, 05: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: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
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
Old 12-16-2013, 08: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, 10:43 PM   #4
JimmyR
Ebook Enthusiast
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.
 
Posts: 212
Karma: 839738
Join Date: Jun 2011
Device: Kindle Keyboard, Touch, PW
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.

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

Last edited by JimmyR; 12-16-2013 at 10:46 PM.
JimmyR is offline   Reply With Quote
Old 12-16-2013, 11:14 PM   #5
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,220
Karma: 5940081
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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
Old 12-16-2013, 11:46 PM   #6
JimmyR
Ebook Enthusiast
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.
 
Posts: 212
Karma: 839738
Join Date: Jun 2011
Device: Kindle Keyboard, Touch, PW
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-17-2013 at 12:32 AM. Reason: Add info - correction
JimmyR is offline   Reply With Quote
Old 12-17-2013, 08: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 10:45 PM.


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