Hello g00r00!
For your reference, here's a short summary of "revised" archiver
definitions for you, if you think you'd want to incorporate any of this in future releases of Mystic. (Please feel free to compare with what you have.)
Active │ Yes
Extension │ ZIP
OS │ All
Description │ Info-ZIP Utilities
Pack Cmd │ zip -qj9 "%1" -- %2
Unpack Cmd │ unzip -oqqjC -- "%1" "%2" -d "%3"
View Cmd │
Active │ Yes
Extension │ RAR
OS │ All
Pack Cmd │ rar a -inul -cl -c- -ep -o+ -y -- "%1" "%2"
Unpack Cmd │ rar e -inul -cl -c- -ep -o+ -y -- "%1" "%2" "%3"
View Cmd │
Active │ Yes
Extension │ LHA
OS │ Linux
Description │ LHA (viewing only)
Pack Cmd │
Unpack Cmd │ lha -efiw="%3" "%1" "%2"
View Cmd │
(lha currently does not support creating archives on Linux, so empty Pack Cmd)
Active │ Yes
Extension │ LZH
OS │ Linux
Description │ LZH (viewing only)
Pack Cmd │
Unpack Cmd │ lha -efiw="%3" "%1" "%2"
View Cmd │
(lha currently does not support creating archives on Linux, so empty Pack Cmd)
Active │ Yes
Extension │ LHA
OS │ Windows
Description │ LHA (via 7-Zip)
Pack Cmd │ 7z a -ba -y -- "%1" "%2"
Unpack Cmd │ 7z e -ba -y -o"%3" -- "%1" "%2"
View Cmd │
Active │ Yes
Extension │ LZH
OS │ Windows
Description │ LZH (via 7-Zip)
Pack Cmd │ 7z a -ba -y -- "%1" "%2"
Unpack Cmd │ 7z e -ba -y -o"%3" -- "%1" "%2"
View Cmd │
Active │ Yes
Extension │ 7Z
OS │ Windows
Description │ 7-Zip
Pack Cmd │ 7z a -ba -y -- "%1" "%2"
Unpack Cmd │ 7z e -ba -y -o"%3" -- "%1" "%2"
View Cmd │ 7z l -y -- "%1" >> "%3%2"
Active │ Yes
Extension │ 7Z
OS │ Linux
Description │ 7-Zip
Pack Cmd │ 7z a -ba -y -- "%1" "%2"
Unpack Cmd │ 7z e -ba -y -o"%3" -- "%1" "%2"
View Cmd │ 7z l -y -- "%1" >> "%3%2" 2> /dev/null; exit $?
Active │ No
Extension │ ARJ
OS │ All
Description │ ARJ32 ARJ Utilities
Pack Cmd │ arj a -e -i -y -- "%1" "%2"
Unpack Cmd │ arj e -e -i -y -w"%3" -ht"%3" -- "%1" "%2"
View Cmd │
Active │ No
Extension │ ARJ
OS │ Windows
Description │ ARJ32 ARJ Utilities
Pack Cmd │ arj a -e -i -y -- "%1" "%2"
Unpack Cmd │ arj e -e -i -y -w"%3" -ht"%3" -- "%1" "%2"
View Cmd │ arj v -i -y -- "%1" >> "%3%2"
Active │ Yes
Extension │ ARJ
OS │ Linux
Description │ ARJ32 ARJ Utilities
Pack Cmd │ arj a -e -i -y -- "%1" "%2"
Unpack Cmd │ arj e -e -i -y -w"%3" -ht"%3" -- "%1" "%2"
View Cmd │ arj v -i -y -- "%1" >> "%3%2" 2> /dev/null; exit $?
(Viewing cannot be done in an OS-independent way due to Mystic redirecting stdout and stderr to /dev/null on Linux, but only stderr on Windows.)
Active │ Yes
Extension │ ZOO
OS │ Linux
Description │ ZOO
Pack Cmd │ zoo ahP: "%1" %2
Unpack Cmd │ cd "%3" > /dev/null 2>&1 && zoo xOOS: "%1" "%2" > /dev/null 2>&1; exit $?
View Cmd │ zoo lVCm "%1" >> "%3%2" 2> /dev/null; exit $?
Active │ Yes
Extension │ ARC
OS │ Linux
Description │ ARC
Pack Cmd │ arc awn "%1" %2
Unpack Cmd │ cd "%3" > /dev/null 2>&1 && arc ewn "%1" "%2" > /dev/null
&1; exit $?
View Cmd │ arc vw "%1" >> "%3%2" 2> /dev/null; exit $?
Active │ Yes
Extension │ TAR
OS │ Linux
Description │ GNU tar
Pack Cmd │ { cd "$(dirname "%2")" && tar -c -f "%1" -- $(basename "%2");
}
Unpack Cmd │ tar -x -f "%1" -C "%3" --xform='s,.*/,,' --overwrite -- "%2"
View Cmd │ tar -t -f "%1" -v --full-time -- >> "%3%2" 2> /dev/null; exit $?
Active │ Yes
Extension │ TGZ
OS │ Linux
Description │ GNU tar + gzip
Pack Cmd │ { cd "$(dirname "%2")" && tar -c -z -f "%1" -- $(basename "%2"); }
Unpack Cmd │ tar -x -f "%1" -z -C "%3" --xform='s,.*/,,' --overwrite --
"%2"
View Cmd │ tar -t -f "%1" -z -v --full-time -- >> "%3%2" 2> /dev/null; exit $?
NOTE: The TAR/TGZ Pack Cmds utilize command grouping ({ ... ; }) -- which
might be unique to bash -- due to command line length limitations.
Best regards
Björn
--- Mystic BBS v1.12 A47 2021/08/05 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)