Created
December 11, 2014 13:09
-
-
Save mlshvdv/79c76982a5ff4fc18fa6 to your computer and use it in GitHub Desktop.
Create tar without excluded objects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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