1

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?

0

1 Answer 1

1

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

You must log in to answer this question.

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