This is a multi-part message in MIME format.
----------------1340351286448131083
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
CAT (Comic Archive Tester) v1.3-Beta14 is getting close enough to open
to more testers/early users. I'm still going to password the posts to
keep people not following the development from using pre-release
software.
For those unfamiliar with the previous versions of the tool, it bulk
tests comic archives for:
- corrupt/encrypted/empty/unrecognized filetype/self-extracting and
other non-comic files labeled as archives (e.g. Ace archives,
executable binaries)
- mislabeled file extensions
- bad file signatures
- identifies multi-volume/Locked/Solid/RARv5 archives
- checks for images files in comic archives
- optionally checks for WebP images
- checks for archives embedded in comic archives
- optionally cleans unneeded WIN/MAC metadata files that can interfere
with some comic readers
- adds filename labels based on exceptions (UNRECOGNIZED,
BAD_SIGNATURE, NO_IMAGES, EMBEDDED_ARCHIVES, WEBP)
- adds OS X tags for archive status, recovery data present
- optionally adds color tags for archive status and recovery states for
fast visual reference
For those familiar with the old tool, this version is significantly
faster (especially on faster hardware/SSDs) as it uses multithreading
and more efficiently tests/analyzes archives. It also catches issues
the old tool did not. That said, it isn't as feature complete as the
old tool yet.
Future development plans include:
- optionally rebuild/repair archives if sufficient recovery files are present
- optionally clean files in archives (based on user custom regex patterns)
- optionally check files in archives based on embedded sfv/par/par2 files
- optionally convert RARv5 archives (for those who use comic readers
that do not support the newer version)
- add background notifications
- include a services Automator workflow (and for Mohave users a Quick
Action plugin) to support testing directly from the Finder
Prerequisites: OS X Mavericks (10.9) or later for tag support, python3,
helper tools (rar, p7z, tag) --will be included, python3 (can be
installed via homebrew, macports or from the official site as a
standard package installer). See the following link for discussion on
the various options if you are interested in using python beyond just
running CAT.
https://wsvincent.com/install-python3-mac/
Each post will have a Read me with changes, warnings, etc.
FREE PRE-RELEASE SOFTWARE SO USE AT YOUR OWN RISK.
That said I've run the current version against thousands of archives
without issue.
Currently the app only writes to disk (if not --dryrun):
- filenames (add labels)
- extensions (correct extensions/optionally change case)
- file tags (including colors unless disabled)
- optionally cleans metadata files from archives (using rar/7z tools
which only replace the file upon successful operation).
Use the --dryrun switch to prevent changes from being made to disk
until you are comfortable with how it handles your files/setup.
→ CAT -h
usage: CAT.py [-h] [--disable_config] [--dryrun] [--edit_ini] [--log LOGLEVEL]
[--view_log] [--reset_ini] [--retest RETEST_LEVEL]
[--threads NUM_THREADS] [--verbose] [--version]
...
A utility to bulk test comic archives (cbr, cbz, cb7, cbt) and optionally
include standard archives (rar, zip, 7z, tar).
positional arguments:
ITEMS FILES/DIRS to test. (recursively searches subdirs)
optional arguments:
-h, --help show this help message and exit
--disable_config, -C don't read configuration from ini file
--dryrun test archives without renaming files or changing tags.
--edit_ini, -E open CAT preferences (ini) file. Opens in the default
text editor if no app is specified in the ini.
--log LOGLEVEL Logging level for log file: DEBUG, INFO (default),
WARNING, ERROR, CRTICAL. Example: --log=DEBUG (case
insensitive)
--view_log, -L open CAT log file. Opens in the default log file
editor if no app is specified in the ini.
--reset_ini, -R reset configuration ini file to the default settings
--retest RETEST_LEVEL
set retest level (None, Older, All) for any previously
tested archives. Default is None (skip all previously
tested archives).
--threads NUM_THREADS, -t NUM_THREADS
number of threads to use. Default is half of the
logical cpus unless overridden by config ini file.
--verbose, -v increase summary verbosity to include list of archives
for each reported category.
--version show program's version number and exit
Password will be "MacUserAcknowledgeBeta". Barring unforeseen issues, I
should post b14 in a day or two.
symm
P.S. If you've read this far and aren't running on a Mac, the script
should be fairly easy to modify for Windows or Linux. Future versions
may support multi-platform.
----------------1340351286448131083
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1671">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.4px 'Helvetica Neue'; color: #393939; -webkit-text-stroke: #393939}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.4px 'Helvetica Neue'; color: #393939; -webkit-text-stroke: #393939; background-color: #ffffff; min-height: 17.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.4px 'Helvetica Neue'; color: #393939; -webkit-text-stroke: #393939; background-color: #ffffff}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Helvetica; min-height: 17.0px}
p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Helvetica}
p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo}
p.p9 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px}
span.s1 {font: 14.0px Helvetica; color: #000000; -webkit-text-stroke: 0px #000000}
span.s2 {font-kerning: none; background-color: #ffffff}
span.s3 {font-kerning: none}
</style>
</head>
<body>
<p class="p1">CAT (Comic Archive Tester) v1.3-Beta14 is getting close enough to open to more testers/early users. I'm still going to password the posts to keep people not following the development from using pre-release software.</p>
<p class="p2"><br></p>
<p class="p1">For those unfamiliar with the previous versions of the tool, it bulk tests comic archives for:</p>
<p class="p1">- corrupt/encrypted/empty/unrecognized filetype/self-extracting and other non-comic files labeled as archives (e.g. Ace archives, executable binaries)</p>
<p class="p1">- mislabeled file extensions</p>
<p class="p1">- bad file signatures</p>
<p class="p1">- identifies multi-volume/Locked/Solid/RARv5 archives</p>
<p class="p1">- checks for images files in comic archives</p>
<p class="p1">- optionally checks for WebP images</p>
<p class="p1">- checks for archives embedded in comic archives</p>
<p class="p1">- optionally cleans unneeded WIN/MAC metadata files that can interfere with some comic readers</p>
<p class="p1">- adds filename labels based on exceptions (UNRECOGNIZED, BAD_SIGNATURE, NO_IMAGES, EMBEDDED_ARCHIVES, WEBP)</p>
<p class="p1">- adds OS X tags for archive status, recovery data present</p>
<p class="p1">- optionally adds color tags for archive status and recovery states for fast visual reference</p>
<p class="p2"><br></p>
<p class="p1">For those familiar with the old tool, this version is significantly faster (especially on faster hardware/SSDs) as it uses multithreading and more efficiently tests/analyzes archives. It also catches issues the old tool did not. That said, it isn't as feature complete as the old tool yet.</p>
<p class="p2"><br></p>
<p class="p1">Future development plans include:</p>
<p class="p1">- optionally rebuild/repair archives if sufficient recovery files are present</p>
<p class="p1">- optionally clean files in archives (based on user custom regex patterns)</p>
<p class="p1">- optionally check files in archives based on embedded sfv/par/par2 files</p>
<p class="p1">- optionally convert RARv5 archives (for those who use comic readers that do not support the newer version)</p>
<p class="p1">- add background notifications</p>
<p class="p1">- include a services Automator workflow (and for Mohave users a Quick Action plugin) to support testing directly from the Finder</p>
<p class="p2"><br></p>
<p class="p3"><span class="s1">Prerequisites: OS X Mavericks </span><span class="s2">(10.9) or later for tag support, python3, helper tools (rar, p7z, tag) --will be included, python3 (can be installed via homebrew, macports or from the official site as a standard package installer). See the following link for discussion on the various options if you are interested in using python beyond just running CAT.</span></p>
<p class="p4"><span class="s3"></span><br></p>
<p class="p5"><span class="s3">https://wsvincent.com/install-python3-mac/</span></p>
<p class="p2"><br></p>
<p class="p6"><br></p>
<p class="p7">Each post will have a Read me with changes, warnings, etc.</p>
<p class="p6"><br></p>
<p class="p3"><span class="s2"><b>FREE PRE-RELEASE SOFTWARE SO USE AT YOUR OWN RISK.</b></span></p>
<p class="p6"><br></p>
<p class="p7">That said I've run the current version against thousands of archives without issue.<span class="Apple-converted-space"> </span></p>
<p class="p6"><br></p>
<p class="p7">Currently the app only writes to disk (if not --dryrun):</p>
<p class="p7">- filenames (add labels)</p>
<p class="p7">- extensions (correct extensions/optionally change case)</p>
<p class="p7">- file tags (including colors unless disabled)</p>
<p class="p7">- optionally cleans metadata files from archives (using rar/7z tools which only replace the file upon successful operation).</p>
<p class="p6"><br></p>
<p class="p7">Use the --dryrun switch to prevent changes from being made to disk until you are comfortable with how it handles your files/setup.</p>
<p class="p6"><br></p>
<p class="p2"><br></p>
<p class="p8">→ CAT -h</p>
<p class="p8">usage: CAT.py [-h] [--disable_config] [--dryrun] [--edit_ini] [--log LOGLEVEL]</p>
<p class="p8"><span class="Apple-converted-space"> </span>[--view_log] [--reset_ini] [--retest RETEST_LEVEL]</p>
<p class="p8"><span class="Apple-converted-space"> </span>[--threads NUM_THREADS] [--verbose] [--version]</p>
<p class="p8"><span class="Apple-converted-space"> </span>...</p>
<p class="p9"><br></p>
<p class="p8">A utility to bulk test comic archives (cbr, cbz, cb7, cbt) and optionally</p>
<p class="p8">include standard archives (rar, zip, 7z, tar).</p>
<p class="p9"><br></p>
<p class="p8">positional arguments:</p>
<p class="p8"><span class="Apple-converted-space"> </span>ITEMS <span class="Apple-converted-space"> </span>FILES/DIRS to test. (recursively searches subdirs)</p>
<p class="p9"><br></p>
<p class="p8">optional arguments:</p>
<p class="p8"><span class="Apple-converted-space"> </span>-h, --help<span class="Apple-converted-space"> </span>show this help message and exit</p>
<p class="p8"><span class="Apple-converted-space"> </span>--disable_config, -C<span class="Apple-converted-space"> </span>don't read configuration from ini file</p>
<p class="p8"><span class="Apple-converted-space"> </span>--dryrun<span class="Apple-converted-space"> </span>test archives without renaming files or changing tags.</p>
<p class="p8"><span class="Apple-converted-space"> </span>--edit_ini, -E<span class="Apple-converted-space"> </span>open CAT preferences (ini) file. Opens in the default</p>
<p class="p8"><span class="Apple-converted-space"> </span>text editor if no app is specified in the ini.</p>
<p class="p8"><span class="Apple-converted-space"> </span>--log LOGLEVEL<span class="Apple-converted-space"> </span>Logging level for log file: DEBUG, INFO (default),</p>
<p class="p8"><span class="Apple-converted-space"> </span>WARNING, ERROR, CRTICAL. Example: --log=DEBUG (case</p>
<p class="p8"><span class="Apple-converted-space"> </span>insensitive)</p>
<p class="p8"><span class="Apple-converted-space"> </span>--view_log, -L<span class="Apple-converted-space"> </span>open CAT log file. Opens in the default log file</p>
<p class="p8"><span class="Apple-converted-space"> </span>editor if no app is specified in the ini.</p>
<p class="p8"><span class="Apple-converted-space"> </span>--reset_ini, -R <span class="Apple-converted-space"> </span>reset configuration ini file to the default settings</p>
<p class="p8"><span class="Apple-converted-space"> </span>--retest RETEST_LEVEL</p>
<p class="p8"><span class="Apple-converted-space"> </span>set retest level (None, Older, All) for any previously</p>
<p class="p8"><span class="Apple-converted-space"> </span>tested archives. Default is None (skip all previously</p>
<p class="p8"><span class="Apple-converted-space"> </span>tested archives).</p>
<p class="p8"><span class="Apple-converted-space"> </span>--threads NUM_THREADS, -t NUM_THREADS</p>
<p class="p8"><span class="Apple-converted-space"> </span>number of threads to use. Default is half of the</p>
<p class="p8"><span class="Apple-converted-space"> </span>logical cpus unless overridden by config ini file.</p>
<p class="p8"><span class="Apple-converted-space"> </span>--verbose, -v <span class="Apple-converted-space"> </span>increase summary verbosity to include list of archives</p>
<p class="p8"><span class="Apple-converted-space"> </span>for each reported category.</p>
<p class="p8"><span class="Apple-converted-space"> </span>--version <span class="Apple-converted-space"> </span>show program's version number and exit</p>
<p class="p6"><br></p>
<p class="p6"><br></p>
<p class="p6"><br></p>
<p class="p7">Password will be "MacUserAcknowledgeBeta". Barring unforeseen issues, I should post b14 in a day or two.</p>
<p class="p6"><br></p>
<p class="p7">symm</p>
<p class="p6"><br></p>
<p class="p6"><br></p>
<p class="p7">P.S. If you've read this far and aren't running on a Mac, the script should be fairly easy to modify for Windows or Linux. Future versions may support multi-platform.</p>
</body>
</html>
----------------1340351286448131083--
|
|