![]() # in the file names don't mess things up. # Set the "field separator" to something other than spaces/newlines" so that spaces Question/tl dr: What would be the "best"/adequate approach to add a integrity file check to the script below? #!/bin/bash I guess it's a matter of using if & else here(?) to check the integrity and then give it another go, if there are any error. p7zip can test the archive by: 7z t comicfile.cbz tmpworkingdir I modified said script slightly to use p7zip as it can both pack/unpack 7z, zip-files and some others, i. Issue: Sometimes the repackaging of the files doesn't end well and would hopefully be alleviated by a integrity check & another go. ![]() cbz is besides escaping the proprietary rar file format, that one can store the metadata from Comic Vine with e. Surprisingly enough there no cbr -> cbz converters out there. ![]() These files are basically your average rar and zip files, however renamed to another extension as they are used for (comic)book applications such as comicrack, qcomicbook and what not. Thanks in advance for taking your time to reading this/answering my question!ĭescription: I found a script that converts/repack. Apparently my searchfoo is really weak in this area, I guess it's a question of terminology. I understand very basic stuff, but when it comes to checking exit codes or what the adequate term is, I'm at a loss. First post, so Hi! Let me start by saying I'm a total noob regarding programming.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |