fklingler / cbr2cbz

Utility to convert Comic Book Rar archives to Zip equivalent
MIT License
8 stars 2 forks source link

If .cbr is actually a zip file, deletes everything #1

Open sandymac opened 10 years ago

sandymac commented 10 years ago

on linux if foo.cbr is really a misnamed foo.cbz then running cbr2cbz foo.cbr simply deletes the file. bummer.

Heinchein78 commented 1 year ago

Hello, ive made a pull request to fix this issue ;) I hope, 9 years later, that you will be happy for this fix to happen haha

Greetings

Utopiah commented 3 months ago

Same problem when unrar is not present. Overall feels like by default it should copy the file rather than convert in place, especially if it can recover on failure!