Welcome, Guest
General discussion about ComicRack

TOPIC: Command line used to create .cbz files?

Command line used to create .cbz files? 8 years 8 months ago #3286

  • spyd3r0x
  • spyd3r0x's Avatar
  • Offline
  • Senior Boarder
  • Posts: 67
  • Karma: 4
This is mostly a question for the main man, cYo ;)

I've created a small .bat file for my own use, to convert .cbrs to .cbz files. I'm using 7-zip to do so. What command line do you use to compress the files into a .zip, via 7-zip? I know there were problems with corrupted zip files with previous versions of ComicRack, so I want to make sure I'm creating files that are most likely to work without any problems.

Here's what I'm using:

7z a -tzip "newfile.cbz" * -mx=0

Basically, it's just .zip file with 0 compression and default settings.

Thanks!
The administrator has disabled public write access.

Re:Command line used to create .cbz files? 8 years 8 months ago #3288

  • spyd3r0x
  • spyd3r0x's Avatar
  • Offline
  • Senior Boarder
  • Posts: 67
  • Karma: 4
Okay, now I'm trying a compression level of 1. Want to make sure those random text files get at least somewhat compressed, while keeping the overall unzip time down. Does it matter that some of the files in the new .cbz files end up being stored with the "Store" method (not compressed), while others are "Deflate"? I'm guessing ComicRack can handle anything the 7-zip dlls can...
The administrator has disabled public write access.

Re:Command line used to create .cbz files? 8 years 7 months ago #3390

  • fatony
  • fatony's Avatar
  • Offline
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Try compressing them as 7z files (-t7z) . There is a switch with 7z that turns solid archives off (-ms=off) Which keeps files separate when compressing and so, I think, should be better is there were any corruptions. (eg only one file is lost). Also makes updating of single files quicker. (eg that comicinfo.xml)

Anyone correct me if i'm wrong.
The administrator has disabled public write access.
Time to create page: 0.157 seconds

Who's Online

We have 286 guests and 2 members online