blob: f63ae66bb3a543bce8e1431e1f84b52f1681804e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Examples of the file passed in --exclude-from option to tar:
> ./temp-files # exclude top-level directory entirely
> ./temp-files/ # BAD: does nothing
> /temp-files # BAD: does nothing
> ./temp-files/* # exclude directory contents; include directory
> temp-files # exclude anything named "temp-files"
> generated-* # exclude anything beginning with "generated-"
> *.iso # exclude ISO files
> proxy/local/cache # exclude "cache" in dir "local" in "proxy"
[http://wiki.zmanda.com/man/amgtar.8.html#idp57458272]
|