Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Another way to unzip zip archives from the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way to unzip zip archives from the command line
Authored by: patashnik on Jan 13, '04 04:33:38AM
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:

ditto -V -x -k --sequesterRsrc --rsrc FILENAME.ZIP DESTINATIONDIRECTORY

If you want to unpack the archive in the current directory, use . as DESTINATIONDIRECTORY

[ Reply to This | # ]