TAR Exclude Media Files

2013-09-24

Just for easy reference...

tar --exclude='*.jpg' --exclude='*.png' --exclude='*.mp3' --exclude='*.mov' --exclude='*.wmv' --exclude='*.avi' --exclude='*.mp4' --exclude='*.pdf' -czf site.com.20130924.tgz /var/httpd/site.com