| |
 |
|
|
Science Forum Index » Compression Forum » Uncompressing with pkzip, append/prepend/use archive...
Page 1 of 1
|
| Author |
Message |
| Poster Matt... |
Posted: Mon May 19, 2008 1:21 pm |
|
|
|
Guest
|
Hi,
I have a few 100 zip files which need to be uncompressed, the person who
created them did not use directories in the zips. Oops.
If they were RAR files I could do this:
unrar x -ad *.rar
Which would extract each RAR into a directory of the archive's name. EG.
files1.rar would be extracted to a directory called files1.
I can't find the zip equivalent of this, does it exist? (Using pkzip
2.5). Or anything similar?
Thanks. |
|
|
| Back to top |
|
| Skybuck Flying... |
Posted: Wed May 21, 2008 6:15 pm |
|
|
|
Guest
|
Don't know.
Check command line options.
/?
-h
or simply nothing.
You could make a batch file:
dir *.zip /B > output.txt
then modify each line too:
md zipfilename
then extract to folder etc.
It's some work but at least it can be automated which than speeds it up a
little so you dont have to do it manually ;)
rename to *.bat done.
Bye,
Bye,
Skybuck :)
I guess you just lazy or don't know how to make a batch file ? or is this
something you need to do a lot ? ;)
"Poster Matt" <postermatt at (no spam) no_spam_for_me.org> wrote in message
news:XyjYj.6141$DZ6.4938 at (no spam) text.news.virginmedia.com...
Quote: Hi,
I have a few 100 zip files which need to be uncompressed, the person who
created them did not use directories in the zips. Oops.
If they were RAR files I could do this:
unrar x -ad *.rar
Which would extract each RAR into a directory of the archive's name. EG.
files1.rar would be extracted to a directory called files1.
I can't find the zip equivalent of this, does it exist? (Using pkzip 2.5).
Or anything similar?
Thanks. |
|
|
| Back to top |
|
| |
|
Page 1 of 1
All times are GMT - 5 Hours
The time now is Fri Dec 05, 2008 8:52 am
|
|