kirchner@informatik.uni-kl.de (Reinhard Kirchner) (01/15/91)
Hello, since others have little problems with pkzip/unzip I want to add mine, perhaps someone can help: The doc says pkzip can also pack ( ehem ... zip ) subdirectories. How can this be done ? I tried the options p and P, but neither worked. So what mistake did I make ? Thanks for help Reinhard Kirchner Univ. of Kaiserslautern, Germany kirchner@uklirb.informatik.uni-kl.de
donovan@hawkeye.uucp (Dennis Donovan) (01/16/91)
In article <7456@uklirb.informatik.uni-kl.de> kirchner@informatik.uni-kl.de (Reinhard Kirchner) writes: > >The doc says pkzip can also pack ( ehem ... zip ) subdirectories. How >can this be done ? > >I tried the options p and P, but neither worked. So what mistake did I make ? > Since I just figured this out I'll pass it along. To pack use: pkzip -arP ArchiveFile SubdirectoryName/*.* To un-pack use: pkunzip -d ArchiveFile I did it from the root directory and specified the sub-directory so that when I unpack it, it will recreate the whole directory structure. I used 1.10 and it works fine. Don't forget the -d on the unpack or you will be left with the whole directory structure in the directory you unpack it to!! Dennis donovan@atexnet P.S. It took me a few tries to get this syntax. It wasn't completely clear from the documentation. -- Dennis Donovan donovan@atexnet "Nobody asked, just my opinion"