Skip to content

Instantly share code, notes, and snippets.

@AtomicSmash
Last active December 16, 2015 15:49
Show Gist options
  • Save AtomicSmash/5459008 to your computer and use it in GitHub Desktop.
Save AtomicSmash/5459008 to your computer and use it in GitHub Desktop.
SSH - zip while exluding certain folders
zip -r backup.zip $target -x "folder/to/exclude*" "another/folder/to/exclude*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment