🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #6891

Re: zip-ping recursive subdirs ?

#6891
From: Dennis Donovan
Date: Tue, 15 Jan 1991 18:34
34 lines
1514 bytes
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"
Technical Details
Message-ID: <5076@atexnet.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!zaphod!ub!uhura.cc.rochester.edu!rochester!kodak!atexnet!hawkeye!donovan
References: <7456@uklirb.informatik.uni-kl.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!zaphod!ub!uhura.cc.rochester.edu!rochester!kodak!atexnet!hawkeye!donovan
From: donovan@hawkeye.uucp (Dennis Donovan)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: zip-ping recursive subdirs ?
Message-ID: <5076@atexnet.UUCP>
Date: 15 Jan 91 18:34:41 GMT
References: <7456@uklirb.informatik.uni-kl.de>
Sender: news@atexnet.UUCP
Organization: EPPS (A Kodak Company), Billerica, MA USA
Lines: 34