Exclude Directories when Using Tar

Example:
$ tar cvfJ test.txz --exclude /var/lib/jenkins/.m2 /var/lib/jenkins/

Comments