Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Created October 31, 2012 13:37
Show Gist options
  • Save seyDoggy/3987074 to your computer and use it in GitHub Desktop.
Save seyDoggy/3987074 to your computer and use it in GitHub Desktop.
Shell script to zip all files in a folder.
FILES=./*; for f in $FILES; do ditto -ck "$f" "$f.zip"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment