Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!rpi!metahawk From: metahawk@itsgw.rpi.edu (Wayne G Rigby) Newsgroups: comp.sys.amiga.misc Subject: Re: Lharc,zoo,DMS Message-ID: <8W9-J3-@rpi.edu> Date: 8 Mar 91 05:34:10 GMT References: <0.27D3C01B@mmug.edgar.mn.org> Sender: Wayne Rigby Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 32 Nntp-Posting-Host: jec411.its.rpi.edu In article <0.27D3C01B@mmug.edgar.mn.org> mwilkins@p3.f55.n282.z1.mmug.edgar.mn.org (Mike Wilkins) writes: >ST> I have a question on how to compress files with lharc and zoo. >ST> How would I pack all files in a dir into a lzh or zoo file. >ST> I know that you use lharc a or zoo a but what do I do from their? > >I would suggest LHARC as it does the job and archives smaller than zoo. >To archive dir 'A' and all subdirs: LHARC -r -x -a a FileName DIR1/* > -r = Do all subdirs & files. > -x = Use extended filenames. > -a = Use file attributes of original files. > a = Add to archive. >FileName = Name of archive file. > DIR1/* = Archive everything in 'DIR1' and its subdirs. > >To add another dir to the same archive file, just issue the command again >with a differnet dir or specify both dirs 'DIR1/* DIR2/*'. > >To unarch to original use: LHARC -x x filename > > Mike Wilkins (mwilkins@mmug.edgar.mn.org) > UUCP: ...jhereg!tcnet!vware!edgar!mmug!mwilkins > FidoNet: 1:282/55.3 - Mike's Diner BBS > Or better yet, use LharcA on the incoming/amiga directory at ab20. This has a graphical interface kind of like PKAZip's, but uses the lzh compression. While LharcA is not completely finished, the only problem I've had with it was that I could not get out of an infinite loop caused by bad data for djclock on ab20. The standard lharc got into the same loop, but I was able to Ctrl-C break out of it. Try it and enjoy it. Metahawk metahawk@rpi.edu