
Eu tenho uma pasta com 85 subpastas. Quero criar um .tar
arquivo customizado, o que significa que quero ignorar algumas pastas.
Como eu posso fazer isso?
Responder1
De algumas maneiras, verifique essas opções no documento:
--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::.