View Single Post
Old 11-08-2012, 05:04 AM   #4
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: 31,080
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by maxarsys View Post
Thank you but I want to avoid archives files from my library so no .zip and no .rar because there's a thousand of them. So is it possible to unpack them before importing them to the library?
Basically I have a folder including sub folders with zip and rar in some of them and I want to find a command, one that can check folders with sub folders for archives and unpack them before deleting the archives files.
It's not possible to do it manually because the number of sub folders with archives is huge.
As i mentionned in my first post the imported archives files duplicate themself in diffrent folder named chapt 1 . 2 etc... and inside those folder their is only the archive file and not the content i have to unpack it manually. But what is not good is that for each chapter when i importe the library i have a big number of duplicated books in subfolders in zip format.

I am looking for a command line like find *.zip *.rar directory /home/aaa/books/(and sub/sub/sub folders) && unzip (what is found into the same directory and delete zip files after extract) && unrar (same operation)


Regards
#1) read this https://www.mobileread.com/forums/sho...d.php?t=119175 sticky.
Bottom line:
Calibre will store files it's way, not your way.

#2) My advice below basically says: Calibre will look into a Zip/RAR and try and figure how to archive #1 (for a single book type).

Have an EPUB inside a Zip, Calibre unzips the book from the archive. Have HTML, Calibre stores the archive

Have 2 formats inside: Calibre stores the archive, but you can't convert or do any 'single format' operations, like convert
theducks is offline   Reply With Quote