|
|
Another way to unzip zip archives from the command line
Why not:
unzip foo.zipYou cannot run this command if you are without Aqua (i.e. remote) as it just opens up the zip GUI command.
Another way to unzip zip archives from the command line
There definitely is more than one way to skin this cat. And reasons to use different tools, example:
I just down loaded a new free album from http://www.comfortstand.com/ and some thing was funky about the zip archive I got. When I tried the double clicking a unarchiving window opens and I can tell my machine is chewing on what should be in a blink, a done deal (I mean go get a drink, come back and every thing has slowed because of this effort kind of job). I get tried of waiting and cancel the job. Rather than burn more bandwidth, I open terminal and try my favorite can opener.
Works for almost anything on a redhat linux box, but no joy this time. Bash (terminal) called me a dummy and said the file had bad obsolescent base-64 headers. Not one to take a hint I tried.
unknown suffix -- ignored
Maybe This is a lost cause. I may have to give up and down load again. What the hey I try.
Guess what! Archive: csr005.zip creating: csr005/ extracting: csr005/csr005-03-the-apartment-the-moon-is-full.mp3 extracting: csr005/csr005-01-the-apartment-alone-now.mp3 extracting: csr005/csr005-02-the-apartment-dig-a-hole.mp3 extracting: csr005/csr005-05-the-apartment-ooh-what-fun.mp3 extracting: csr005/csr005-04-the-apartment-flowing.mp3 extracting: csr005/csr005.jpg extracting: csr005/threeforks-slimart.jpgNew Music, iTunes here we come. So what was the deal? I don't have a clue as to why double clicking did not work. But I do know there are many unix archiving unarchiving tools some are named for what they do and what type files they work on. I know of a hand full; tar, gzip, gunzip, zip, unzip, bzip2, bunzip2, bzip2recover, compress, uncopress, pax, cpio. You can find man pages for all of these and more. Go ahead open your terminal and try
More is less, or is that less the opposite of more I don't know....... if unix was any more fun they would make it a game pack for playstation.
Another way to unzip zip archives from the command line
unzip doesn't handle the embedded resourceforks in ZIP files created by the Finder. If you want to unarchive those files from the CLI, use ditto:
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|