Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!src.honeywell.com!msi.umn.edu!cs.umn.edu!kksys!edgar!mmug!p3.f55.n282.z1.mmug.edgar.mn.org!mwilkins From: mwilkins@p3.f55.n282.z1.mmug.edgar.mn.org (Mike Wilkins) Newsgroups: comp.sys.amiga.misc Subject: Lharc,zoo,DMS Message-ID: <0.27D3C01B@mmug.edgar.mn.org> Date: 4 Mar 91 20:58:46 GMT Sender: ufgate@mmug.edgar.mn.org (newsout1.26) Organization: FidoNet node 1:282/55.3 - Mike's Diner, Blaine MN Lines: 32 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? Zoo has stumped me also. This is what I've done. Suppose that you have dir 'A' that contains dirs 'B' & 'C'. To archive all subdirs of 'A': zoo aP file a/* a/b/* a/c/* To unarch a zoo file in it's original dir paths: zoo x// file ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- Hope this helps.--- via AmigaXRS v3.02 -- Mike Wilkins (mwilkins@mmug.edgar.mn.org) UUCP: ...jhereg!tcnet!vware!edgar!mmug!mwilkins FidoNet: 1:282/55.3 - Mike's Diner BBS --