Monday, October 3, 2011

How To Exclude Multiple Directories From Tar

This assumes you are working in /

tar cvzf [/path/to/store/file.tgz] --exclude ./exclude1 --exclude ./exclude2 [/path/to/tar/up]