How to backup a folder & exclude all images

Posted: June 9th, 2007 | Author: Bolo | Filed under: Linux | No Comments »

The code below will first create a file called Exclude containing the paths to all common document files I wish to exclude from my backup, images, documents etc.

Secondly the tar command will be used to create a compressed tgz containing everything in the given folder and recursive folders excluding the files as detected.