Articles & Code Snippets


Archive with tar excluding certain files/folders

Here is how to run the tar command with the --exclude functionality


Here is how to run the tar command with the --exclude functionality

tar -czvf backup.tar.gz /path/site.com --exclude='/path/site.com/uploads'
web


Archives