TIP: Click on subject to list as thread! ANSI
echo: mystic
to: g00r00
from: Bjrn Wiberg
date: 2021-08-04 15:22:00
subject: ZOO archiver example (upd

Hello again g00r00!

On 04 Aug 2021, Bj”rn Wiberg said the following...
 BW>    Pack Cmd ³ zoo ahP: "%1" %2 >>
 BW>  Unpack Cmd ³ cd "%3" 2>/dev/null&&{ zoo xOOS: "%1" "%2";RC=$?;cd
 BW> ->>/dev/null; };exit $RC >>
 BW>   View Cmd ³ zoo lVCm "%1" >> "%3%2" 2> /dev/null; exit $? >>

Simplified some of the command lines, and arrived at:

   Pack Cmd ³ zoo ahP: "%1" %2 >>
 Unpack Cmd ³ { cd "%3" && zoo xOOS: "%1" "%2"; }
   View Cmd ³ { zoo lVCm "%1" >> "%3%2"; } >>

The command groups will ensure that all output will be handled "as a whole" by
the redirection at the end (and Mystic's addition to that).

"And that's final!" ;-)

Best regards
Bj”rn

--- Mystic BBS v1.12 A47 2021/07/31 (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™.