08-08-2018, 03:09 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2018
Device: Paperwhite
|
Add ZIP and RAR formats to book
Hi,
I've got some ZIP and RAR files that have compressed .epub versions of some books in my Calibre library. I like to keep these compressed files as backup incase the .epub file gets corrupted. When I try to add the compressed file to my books, it appears that Calibre is automatically extracting the contents of the compressed file. What I'd like is that in the Edit Metadata window, the small box on the right that shows the various formats of the book, for it to show EPUB, MOBI and ZIP/RAR. If I try to add a compressed file that has MULTIPLE formats inside (i.e. the compressed file contains the EPUB and MOBI versions of the book) then Calibre does add RAR or ZIP as a format in the "Formats" column. But if the compressed file only contains a single format, Calibre just automatically extracts it and the compressed file isn't listed in the "Formats" column. Is there a way to force Calibre to show the ZIP and/or RAR file in the "Formats" column even if the compressed file only contains a single format? Thanks in advance. |
08-08-2018, 05:02 PM | #2 | |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Export your format to disk, then rename it by adding .bak after the file type.zip
example: Code:
Kristine Kathryn Rusch Diving Into the Wreck.epub.bak bernie Quote:
|
|
08-08-2018, 07:11 PM | #3 |
null operator (he/him)
Posts: 20,541
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@mysernameisalrea - because an ePub is already compressed (zipped) - except for the mimetype file - compressing an ePub won't buy you much disk space.
BR |
08-08-2018, 11:56 PM | #4 | |
Bibliophagist
Posts: 35,263
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
Zip (Ultra, deflate64) 10,219,633 bytes 7z (Ultra, lzma2) 9,848,355 bytes Zip (store only) 10,251,096 bytes |
|
08-09-2018, 03:03 AM | #5 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2018
Device: Paperwhite
|
Ahh, okay. I didn't realize that .epub was already a type of compressed file. Now I understand what Calibre is doing.
I'm not using the compressed zip/rar files as a means to save space-- that's just how I got them, so I'm saving them as a backup. As such, thanks @gbm for suggesting I append ".bak" to my these compression files. I'll do that. |
08-09-2018, 10:17 AM | #6 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
epub is actually a zip file that has specific file structure internally. You can see this by changing the extension of such a file from .epub to .zip and then opening it in your favourite zip file handler.
|
08-10-2018, 07:05 AM | #7 | |
Guru
Posts: 918
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
|
Quote:
I use to do that a lot, but the editor does so much now that it's been a while... |
|
08-10-2018, 08:55 AM | #8 |
Addict
Posts: 250
Karma: 1702156
Join Date: Nov 2010
Device: Kindle Voyage
|
Keeping your backup files in the same folders as the originals rather defeats the purpose of a backup. Better to keep a backup copy of your libraries on separate media, like a file share or external hard drive.
|
08-10-2018, 06:12 PM | #9 | |
Bibliophagist
Posts: 35,263
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RAR vs Zip for downloading from GoolgeDocs | JSWolf | Sigil | 9 | 11-21-2015 07:29 PM |
Extract cover from zip/rar | xd1986k | Calibre | 4 | 01-31-2015 06:10 AM |
Zip/Rar files not converting | WaggaSteve | Calibre | 22 | 07-03-2013 08:21 AM |
zip, zipx rar etc | cybmole | Calibre | 13 | 11-18-2011 10:01 PM |
No plugin for .zip or .rar files? | dynalady | Plugins | 7 | 09-20-2011 10:25 AM |