Skip to content

Instantly share code, notes, and snippets.

@mhairston
Created December 21, 2015 20:26
Show Gist options
  • Save mhairston/9d9556778b36e7010e74 to your computer and use it in GitHub Desktop.
Save mhairston/9d9556778b36e7010e74 to your computer and use it in GitHub Desktop.
Copy & Zip files
#!/bin/sh
ditto -c -k --rsrc --keepParent ~/Documents/ Docs.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment