Skip to content

Instantly share code, notes, and snippets.

@mlshvdv
Created December 11, 2014 13:09
Show Gist options
  • Save mlshvdv/79c76982a5ff4fc18fa6 to your computer and use it in GitHub Desktop.
Save mlshvdv/79c76982a5ff4fc18fa6 to your computer and use it in GitHub Desktop.
Create tar without excluded objects
tar -zvcf archive.tar /path/to/site --exclude "/path/to/site/system" --exclude "/path/to/site/tmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment