Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!mahendo!wlbr!WLV.IMSD.CONTEL.COM!mcc From: mcc@WLV.IMSD.CONTEL.COM (Merton Campbell Crockett) Newsgroups: comp.os.msdos.apps Subject: Re: PKUNZIPping directory trees Message-ID: <1991Mar6.023604.9998@wlbr.imsd.contel.com> Date: 6 Mar 91 02:36:04 GMT References: <1991Mar03.171051.20116@ariel.unm.edu> <15713@mendip.UUCP> Sender: news@wlbr.imsd.contel.com (news) Organization: Contel Federal Systems Lines: 20 Nntp-Posting-Host: wlv.imsd.contel.com In article <15713@mendip.UUCP> mhr@mendip.UUCP (MHR {who?}) writes: >In <1991Mar03.171051.20116@ariel.unm.edu>, ee5391aa@triton.unm.edu 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? >According to the command line help screens, PKZIP -pr >will recurse the subdirectories from the CD and store the pathnames in >the zip file. PKUNZIP -d will recreate directories stored in >the zip file. Use the -h option with either program for the switch options. One caution concerning the backup and restore operation with the above switches. The restore operation will restore everything as a subdirectory tree from the directory you are in. If /a/b/c is the structure and you are in /a when you restore, the new structure will be /a/a/b/c. Oops. substitute "\" for "/" in the above--hate when that happens. Merton