Compressing files ala Finder via Command Line

- Posted in Uncategorized by
The Finder "Compress" option creates a pkZip archive. Here is how to compress and extract with the command line. Compress: ditto -c -k --sequesterRsrc --keepParent src_directory archive.zip To

Ditto

- Posted in Uncategorized by
Using ditto to zip up a folder: ditto -ck --sequesterRsrc {source} {destination.zip} Using ditto to unzip: ditto -V -x -k --sequesterRsrc --rsrc {source.zip} {destination}