Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .