Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 05:44 AM   #1
mfm-ca
Enthusiast
mfm-ca began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Apr 2017
Device: PC
Added file name of eBook

My apologies if this has been asked or explained before. I use Calibre primarily for file conversions and file editing (EPUBs). Actually, a lot of it. When adding a file to Calibre, I have a file name I would like to retain.

For example, here is the name of a file I am adding to Calibre and what Calibre renames it to in its folder structure:

Original file name: Once Upon a Halloween (2021).epub

Calibre file name: Once Upon a Halloween_ A wicked - Patti Larsen.epub

When performing file conversions, I tend to use the command line option with Calibre, where I can control the output file names within a batch or script file. But for editing, I seem to be at the mercy of how Calibre names the physical files.

Is there any way to retain the original file name?
mfm-ca is offline   Reply With Quote
Old Today, 06:10 AM   #2
chaley
Grand Sorcerer
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: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
No, there isn't. However, the GetFileName plugin lets you store the original name in a custom column, which might help.
chaley is offline   Reply With Quote
Advert
Old Today, 06:33 AM   #3
mfm-ca
Enthusiast
mfm-ca began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Apr 2017
Device: PC
Thanks for the help. I will check the plugin to see if it can address my preference. If not, I will continue the process of manually renaming files after they have been edited or, in some cases, converted.
mfm-ca is offline   Reply With Quote
Old Today, 07:42 AM   #4
chaley
Grand Sorcerer
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: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by mfm-ca View Post
But for editing, I seem to be at the mercy of how Calibre names the physical files.
I don't understand this. The command line tool ebook-edit takes arbitrary file names. The files don't need to be in a calibre library or named using the calibre scheme. How does this differ from using the conversion command line tools?
chaley is offline   Reply With Quote
Old Today, 08:31 AM   #5
mfm-ca
Enthusiast
mfm-ca began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Apr 2017
Device: PC
Quote:
Originally Posted by chaley View Post
I don't understand this. The command line tool ebook-edit takes arbitrary file names. The files don't need to be in a calibre library or named using the calibre scheme. How does this differ from using the conversion command line tools?
I honestly had no idea Calibre's edit function could be accessed via the command line.

I just created a shortcut in my SendTo folder for ebook-edit and tried it out on an EPUB. Works great.

Thanks a bunch for this suggestion.
mfm-ca is offline   Reply With Quote
Advert
Old Today, 08:56 AM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,802
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If you click the Edit Book icon, or press 'T' in the GUI, and the current book has an EPUB (or AZW3), the ebook-editor will open that file.

BR
BetterRed is offline   Reply With Quote
Old Today, 09:14 AM   #7
mfm-ca
Enthusiast
mfm-ca began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Apr 2017
Device: PC
Quote:
Originally Posted by BetterRed View Post
If you click the Edit Book icon, or press 'T' in the GUI, and the current book has an EPUB (or AZW3), the ebook-editor will open that file.
That's how I had been editing the files in Calibre:
  1. Add file to Calibre
  2. Edit file in Calibre
  3. Open file folder under Calibre Library
  4. Copy edited file to my eBook folder structure
  5. Rename file back to its original file name
With a backup of the EPUB (or AZW3) to be edited, which I always do, the command line option via a SendTo shortcut bypasses Steps 1 and 3-5. There is also the option of adding an Edit item to the context menu.
mfm-ca is offline   Reply With Quote
Old Today, 10:20 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,802
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
You could probably replace steps 3,4 and 5 with a Save to Disk if you installed the GetFileName plugin, and used the filename/path it stores in the Save to Disk template.

After adding a book to a library, I move the file I added into the book's 'data' subdirectory, where it will retain it's original file name.

BR

Last edited by BetterRed; Today at 10:27 AM.
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What do all the added spans in a Kepub file do? Daniel Jackson Kobo Reader 4 02-11-2024 04:06 PM
ZIP file not added to book record lemonpeel Library Management 4 12-29-2022 07:35 PM
ABBYY Added to File Rick Fox Conversion 12 01-28-2012 11:34 AM
Default File name for newly added book simpo067 Library Management 2 03-27-2011 08:01 AM


All times are GMT -4. The time now is 05:24 PM.


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