Re: Unzipping all through a directory structure?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Neil wrote:
Is there a simple method, and tool to use, that will allow me to extract
fully ALL files within a hierarchy of folders with zip files in them?
eg.. the Parent Directory has twenty subfolders, each of which have ten
sub-folders with several .zip files in each. Ideally I want to unzip all
the files within the lowest level folders, keeping the unzipped output at
that lowest level.

Any help appreciated.

Neil

easy
a comand line unzip program

pkzip came with pkunzip i'm sure there's a more up to date version
that does long filenames.
or winzip has a command line version.

Find a command to run in each directory.
like pkunzip -d *.* (I think it's -d you want, if the zip contains
directories and you want them created)

you could do
C:\>sweep pkunzip -d *.*

that will run that command in every single directory.
it will unzip all zip files in all directories.

you'd have to download sweep.com (I think it was made by pcmag)
dunno how it runs in win xp.

The more efficient way - not so simple - is to be able to run that
command in/on a list of directories. But that's tricky. It'd take a
long time to manually compose a batch file that says
pkunzip -d c:\a\b\*.zip
pkunzip -d c:\a\c\*.zip
e.t.c.
I've never produced a file like that automatically, but a prog like
MiniTrue might create that file.

I think sweep is a good bet and v. easy to do/try. you wanted simple
and that's simple. Much easier than the 'more efficient way'.

.



Relevant Pages

  • Re: Star Commander Zip usage question
    ... So why is SC using a command line of pkunzip -d filename? ... unzip shortfilename.zip -d. ...
    (comp.sys.cbm)
  • Success
    ... secure Windows, IIS, IE, Outlook Express ... >different upload and download folders. ... >Third party FTP software, or OpenSSH, or VPN can be used ... >1) Use a "DOS" Command Prompt for the steps below. ...
    (microsoft.public.inetserver.iis.security)
  • Re: system folders not shared?
    ... It is amazing how much can be accomplished at a command line. ... I still could not access XP's system folders. ... files would open across the network but media files would not). ... permissions to block the sharing of certain folders. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Vanishing icons on Desktop and in Recycle Bin
    ... Use the command prompt ... I couldn't see a SID #. ... Both of those SID # folders should open, ... My INFO2 opens. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: List View: Calculate all sizes Default?
    ... figure out how to use Ian's command (which, above, I incorrectly referred ... This is why my script sends items to the trash rather than immediately ... folders are completely ignored. ... Is there a reason to suspect the restore would _not_ include ...
    (comp.sys.mac.system)