tar: Howto Exclude or Include Files

Recently I’ve had a little problem. I’ve needed to create an archive from some source directories but I’ve not needed to add in the archive some subdirectorives. I’ve made a quick search in Google and found an article “Telling tar Which Files to Exclude or Include”. Here is a short example: $ find videoguide/ ! -type d -print | egrep ‘/,|%$|~$|.jpg$|.gif$|.png$’ > /tmp/exclude_files That command […]

Read Me Leave comment