Skip to content

Instantly share code, notes, and snippets.

@mondalaci
Created April 30, 2013 00:53
Show Gist options
  • Save mondalaci/5485950 to your computer and use it in GitHub Desktop.
Save mondalaci/5485950 to your computer and use it in GitHub Desktop.
Zip a directory the easy way.
#!/bin/bash
find "$1" -not -regex '.*\.svn.*' -print | zip "$1.zip" -@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment