Take the 2-minute tour ×

I have a folder with 85 subfolders. I want to make a customized .tar file, meaning that I want to ignore some folders.

How can I do that?

share|improve this question
thanks dear slhck! –  Sam Feb 7 '12 at 11:36
add comment

1 Answer

up vote 1 down vote accepted

A couple of ways, check these options in the doc.:

     When performing operations, `tar' will skip files that match
     PATTERN.  *Note exclude::.
     Similar to `--exclude', except `tar' will use the list of patterns
     in the file FILE.  *Note exclude::.
share|improve this answer
add comment

Your Answer


