Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Possible to 'unzip' with the same effect like 'gunzip' ??
Possible to 'unzip' with the same effect like 'gunzip' ??
Hello!
I like the functionality of GZip and I would like to UnZip some Zips (well, actually hundreds) with the same effect as GZip.. you might ask "what effect?".. Look:
If we create a file, let's say debian-test: touch debian-test
Then we GZip it: gzip debian-test
It will make a debian-test.gz file of the original file, but the original file is gone.
So let's GunZip it: gunzip debian-test.gz
It will give us back the debian-test file, but the archive is gone. This is what I like.
But in Zip/UnZip, you need to specify a path where the archive should be made/extracted and it will leave the original files which is absolutely annyoing.. Oh and please note that I have a directory where is a subdirectory with many Zips and again lots of subdirectories with many Zips... So this makes stuff a little bit complicated..
Thanks to anyone who would be so kind to help me to UnZip the Zip files!
I like the functionality of GZip and I would like to UnZip some Zips (well, actually hundreds) with the same effect as GZip.. you might ask "what effect?".. Look:
If we create a file, let's say debian-test: touch debian-test
Then we GZip it: gzip debian-test
It will make a debian-test.gz file of the original file, but the original file is gone.
So let's GunZip it: gunzip debian-test.gz
It will give us back the debian-test file, but the archive is gone. This is what I like.
But in Zip/UnZip, you need to specify a path where the archive should be made/extracted and it will leave the original files which is absolutely annyoing.. Oh and please note that I have a directory where is a subdirectory with many Zips and again lots of subdirectories with many Zips... So this makes stuff a little bit complicated..
Thanks to anyone who would be so kind to help me to UnZip the Zip files!
Don't dream your life; live your dream!
No no no.. that's different. I already saw that post before posting this. To make that Bash script to work for me, I need to add the command cd to UnZip the Zips in their appropriate subdirectories..Grifter wrote:http://forums.debian.net/viewtopic.php?t=11720
Don't dream your life; live your dream!
Files created by zip can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method. This feature is only intended to help conversion of tar.zip files to the tar.gz format. To extract zip files with several members, use unzip instead of gunzip.
http://tinyurl.com/2v7yt2
http://tinyurl.com/2v7yt2
My Zip files have several membersHarold wrote:Files created by zip can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method. This feature is only intended to help conversion of tar.zip files to the tar.gz format. To extract zip files with several members, use unzip instead of gunzip.
http://tinyurl.com/2v7yt2
Don't dream your life; live your dream!
Thanks! Looks very promisingHarold wrote:Try this: http://www.stuffit.com/unix/index.html
Don't dream your life; live your dream!
Re: Possible to 'unzip' with the same effect like 'gunzip' ?
I don't know if it's relevant for you, however I use a debian package called 'unp' which unpack almost everything including *.tar.gz, *.tar.bz, *.rpm, *.deb, *.zip, *.rar with one command. Of course you need to install some non-free packages like 'unrar' for *.rar file for example. Unp can be installed by apt-get:
http://packages.debian.org/unstable/utils/unp
http://packages.debian.org/unstable/utils/unp
Maurice Green on Usain Bolt's 9.58: "The Earth stopped for a second, and he went to Mars."
Re: Possible to 'unzip' with the same effect like 'gunzip' ?
Cool!garrincha wrote:I don't know if it's relevant for you, however I use a debian package called 'unp' which unpack almost everything including *.tar.gz, *.tar.bz, *.rpm, *.deb, *.zip, *.rar with one command. Of course you need to install some non-free packages like 'unrar' for *.rar file for example. Unp can be installed by apt-get:
http://packages.debian.org/unstable/utils/unp
Don't dream your life; live your dream!