This is a multi-part message in MIME format.
----------------13675881332029504068
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
You up to testing a new version of CAT? I've implemented an --dryrun
option so no changes are made to disk.
I rewrote it from scratch to dust off my python coding, fix some bugs
and incorporate some new tricks I discovered since the last version.
It's a lot faster but not yet feature complete. As an aside, what are
your must-have features of CAT beside basic testing, e.g. metadata
cleaning, webp detection, ACE conversion, etc.?
Currently it's a python3 command line script. I haven't repackaged as
an app bundle yet, so if you have the vanilla Mac install you'll need
to install python3. Apple only bundles an out of date version of python
2. Unfortunately, this is the status quo for Apple and open source
software for the last 10 years or so.
If you already use homebrew (which you should) it's easy to install
python3. If not, I can walk you through installing via Anaconda or the
standalone install.
I think I've avoided any python package dependencies, however the
helper apps are not bundled (again not an app yet). The third party
helper apps (unrar, p7z and tag) are freely avaliable. The only new
helper app from the previous version is "file" which is installed by
default on Macs.
Symm
→ CAT -h
usage: CAT.py [-h] [-a] [-c] [-d] [-n] [-o] [-s] [-v] [--version] ...
A utility to bulk test archives ('.cbr','.rar', '.cbz', '.zip', '.cb7','.7z',
'.cbt', '.tar').
positional arguments:
ITEMS FILES/DIRS (recursively searches subdirs) to test.
Default is the current working directory.
optional arguments:
-h, --help show this help message and exit
-a, --retest_all retest all previously tested archives. Default
behavior is to skip tested archives.
-c, --clean_metadata clean system metadata files (Icon?,Thumbs.db,
Desktop.ini,.DS_Store, __MACOSX).
-d, --dryrun test archives without renaming files or changing tags.
-n, --no_color print results without color coding.
-o, --retest_older only retest archives tested with older versions.
-s, --suppress_errors
do not print stderr from test helper tools.
-v, --verbose print additional archive test info
--version show program's version number and exit
----------------13675881332029504068
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; line-height: 17.0px; font: 14.0px Helvetica; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Helvetica}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #f2f2f2; background-color: #000000}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #f2f2f2; background-color: #000000; min-height: 15.0px}
span.s1 {font-variant-ligatures: no-common-ligatures}
</style>
</head>
<body>
<p class="p1">You up to testing a new version of CAT? I've implemented an --dryrun option so no changes are made to disk.</p>
<p class="p2"><br></p>
<p class="p3">I rewrote it from scratch to dust off my python coding, fix some bugs and incorporate some new tricks I discovered since the last version.<span class="Apple-converted-space"> </span></p>
<p class="p2"><br></p>
<p class="p3">It's a lot faster but not yet feature complete. As an aside, what are your must-have features of CAT beside basic testing, e.g. metadata cleaning, webp detection, ACE conversion, etc.?</p>
<p class="p2"><br></p>
<p class="p3">Currently it's a python3 command line script. I haven't repackaged as an app bundle yet, so if you have the vanilla Mac install you'll need to install python3. Apple only bundles an out of date version of python 2. Unfortunately, this is the status quo for Apple and open source software for the last 10 years or so.</p>
<p class="p2"><br></p>
<p class="p3">If you already use homebrew (which you should) it's easy to install python3. If not, I can walk you through installing via Anaconda or the standalone install.</p>
<p class="p2"><br></p>
<p class="p3">I think I've avoided any python package dependencies, however the helper apps are not bundled (again not an app yet). The third party helper apps (unrar, p7z and tag) are freely avaliable. The only new helper app from the previous version is "file" which is installed by default on Macs.</p>
<p class="p2"><br></p>
<p class="p3">Symm</p>
<p class="p2"><br></p>
<p class="p4"><span class="s1">→ CAT -h</span></p>
<p class="p4"><span class="s1">usage: CAT.py [-h] [-a] [-c] [-d] [-n] [-o] [-s] [-v] [--version] ...</span></p>
<p class="p5"><span class="s1"></span><br></p>
<p class="p4"><span class="s1">A utility to bulk test archives ('.cbr','.rar', '.cbz', '.zip', '.cb7','.7z',</span></p>
<p class="p4"><span class="s1">'.cbt', '.tar').</span></p>
<p class="p5"><span class="s1"></span><br></p>
<p class="p4"><span class="s1">positional arguments:</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>ITEMS <span class="Apple-converted-space"> </span>FILES/DIRS (recursively searches subdirs) to test.</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>Default is the current working directory.</span></p>
<p class="p5"><span class="s1"></span><br></p>
<p class="p4"><span class="s1">optional arguments:</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-h, --help<span class="Apple-converted-space"> </span>show this help message and exit</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-a, --retest_all<span class="Apple-converted-space"> </span>retest all previously tested archives. Default</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>behavior is to skip tested archives.</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-c, --clean_metadata<span class="Apple-converted-space"> </span>clean system metadata files (Icon?,Thumbs.db,</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>Desktop.ini,.DS_Store, __MACOSX).</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-d, --dryrun<span class="Apple-converted-space"> </span>test archives without renaming files or changing tags.</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-n, --no_color<span class="Apple-converted-space"> </span>print results without color coding.</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-o, --retest_older<span class="Apple-converted-space"> </span>only retest archives tested with older versions.</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-s, --suppress_errors</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>do not print stderr from test helper tools.</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>-v, --verbose <span class="Apple-converted-space"> </span>print additional archive test info</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space"> </span>--version <span class="Apple-converted-space"> </span>show program's version number and exit</span></p>
</body>
</html>
----------------13675881332029504068--
|
Follow-ups: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 32 | 33 | 34 |
|