Published on Saturday, June 9th, 2007 at 11:40 am

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.

 

Be Sociable, Share!

Related Posts

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


About Me

Welcome to my blog. Here you'll find mainly work related content, a suppository for all my notes which otherwise would end up on a post it note.