TIP: Click on subject to list as thread! ANSI
echo: mystic
to: g00r00
from: Bjrn Wiberg
date: 2021-08-07 11:16:00
subject: Summary of archiver comma

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
2>&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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.