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?

link|improve this question
thanks dear slhck! – Mike Redford Feb 7 at 11:36
feedback

1 Answer

up vote 1 down vote accepted

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

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

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.