TheHardew / compress_comics

A script to compress cbz/cbr comics with jpeg xl
The Unlicense
7 stars 0 forks source link

Add a flag to compress files in-place #9

Closed JinEnMok closed 8 months ago

JinEnMok commented 8 months ago

I.e. unpacking, compressing, and then repacking and overwriting the original file, as opposed to writing to a new directory.

TheHardew commented 8 months ago

Please check the update. I still need to update the README though. Usage: python compress_comics.py -o or python compress_comics.py --overwrite

TheHardew commented 8 months ago

It should work, but I didn't want to add it at first since it's risky to overwrite stuff, I don't trust myself to do it perfectly on the first try, so better do it only with things you are prepared to lose.

JinEnMok commented 8 months ago

thanks for the update. I figured you didn't want it to be destructive, but this could be useful for testing or singular converts.