12-12-2010, 11:53 AM | #1 |
Member
Posts: 23
Karma: 524
Join Date: Dec 2010
Device: Sony PRS650
|
Import existing .opf's & books
I'm sorry if this is a silly question and I've had a quick search but can't find anything about it, but I've been messing around and managed to make a haimes of things and my backup drive has gone kaput (it's currently resting in the freezer in the ultimate desperate act to try and recover data!)
I'm now left with my main library, and several-dozen subdirs where I'd been playing around with another library. These subdirs contain the books, cover and .opfs. I can import all the files (epubs) from Calibre, but it seems to leave all the metadata from the .opfs behind. Is there any way by which I can import these folders in bulk including the metadata? Right now I'm having to go to each folder in Nautilus (I'm using Linux), select the opf and open it with Calibre, then go to Calibre and manually add the book to the entry. It's a pain to say the least |
12-12-2010, 11:58 AM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
a recursive add (one book per directory) will read the emtadata from the opfs. click the arrow next to the add books button.
|
Advert | |
|
12-12-2010, 11:58 AM | #3 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Make a ZIP of the folder containing a single .opf plus the rest of the files for that ebook, then import the .zip file into Calibre.
If the original was an ePub, then you could try renaming the .zip to .epub, but this might not make a legal .epub (and I don't know how much difference it makes to Calibre anyway). |
12-12-2010, 12:17 PM | #4 |
Member
Posts: 23
Karma: 524
Join Date: Dec 2010
Device: Sony PRS650
|
That's strange, I could have sworn I'd tried that already (as it's so obvious and basic, which is why I was a bit embarrassed to ask this) and it hadn't worked. Maybe I'd then looked at some entries that I hadn't originally entered data for or something equally daft
Either way, it has worked, I'm saved ! Many thanks for the very fast replies, you're scholars and gentlemen |
09-17-2016, 08:55 AM | #5 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2012
Location: Netherlands
Device: Kobo Aura H2O
|
|
Advert | |
|
06-26-2017, 05:02 PM | #6 | |
"Why is it doing *that*?"
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
|
Quote:
Please, can you explain what you mean by a "recursive add"? I'm assuming I need these files. Thanks!! |
|
06-26-2017, 05:22 PM | #7 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
You don't really need them; they are a backup of the data in your Calibre database. You can regenerate them from the GUI with Library -> Library Maintenance -> Library metadata backup status -> Queue all books for backup. Or with the command line 'calibredb backup_metadata'
|
06-26-2017, 08:17 PM | #8 |
"Why is it doing *that*?"
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
|
Thanks! I'm trying that now! I couldn't figure out why nothing I imported had the metadata files in the folders, I thought Windows 10 was hiding them despite being told to show hidden files. Then I realised they hadn't been imported when the new files I had created since the import had them.
Again, many thanks!!! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] import library or export to single file add to existing library | PCreighton | Calibre | 4 | 04-10-2011 01:08 AM |
import my books in my sony | Kardock | Calibre | 3 | 10-14-2010 01:03 PM |
Calibre won't import any books! | sapereaudo | Calibre | 10 | 03-22-2010 08:55 PM |
How the new 0.6.45 Add new formats to existing books option works | Starson17 | Calibre | 8 | 03-14-2010 01:27 PM |
Can I read my existing Connect books on a 2nd Reader? | Leaping Gnome | Sony Reader | 20 | 01-14-2007 02:04 AM |