Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!msi.umn.edu!cs.umn.edu!cybrspc!roy From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail) Newsgroups: comp.os.msdos.apps Subject: Re: PKUNZIPping directory trees Message-ID: <8g6ey1w163w@cybrspc> Date: 7 Mar 91 03:13:30 GMT References: <1991Mar03.171051.20116@ariel.unm.edu> Organization: Villa CyberSpace, Minneapolis, MN Lines: 23 ee5391aa@triton.unm.edu (Duke McMullan n5gax) writes: > PKZIP has an option for storing pathnames, but is there any way to get it > to store a directory, its contents and all subdirectories thereof in such > a way that PKUNZIP will restore that portion of the tree? Sure.... to create: PKZIP -rp zipname *.* (wildcard optional if files are in the initial directory, but required if there are only subdirs) Or PKZIP -rP zipname *.* (to store absolute pathnames... i.e. beginning from c:\foo will store all files as 'foo\whatever') And to unpack: PKUNZIP -d zipname -- Roy M. Silvernail -- roy%cybrspc@cs.umn.edu - OR- cybrspc!roy@cs.umn.edu perl -e '$x = 1/20; print "Just my \$$x! (adjusted for inflation)\n"' [space reserved for clever quote]{mail your submissions}