V.N.PoulopoulosAssistant Professor
Dr. Vassilis Poulopoulos
10 Dec 2017

Multiple excludes in tar

In order to have multiple excludes in tar command you need to write several



As an example:

tar cfz /var/tmp/backup.tgz /var/www/application --exclude /var/www/application/webfolder --exclude /var/www/application/logs


terminal Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *