diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-05-24 17:14:41 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-05-24 17:14:41 +0200 |
commit | 71a58b519962666cc89579e05002e271bfb5609b (patch) | |
tree | 917e6cf36de094594c6215e98ea3b6630fbfa9b6 | |
parent | 6c21abf85cd07df837aa7682c57d136d10ebb0a3 (diff) | |
download | tips-tricks-71a58b519962666cc89579e05002e271bfb5609b.tar.gz tips-tricks-71a58b519962666cc89579e05002e271bfb5609b.tar.xz tips-tricks-71a58b519962666cc89579e05002e271bfb5609b.zip |
Add 03-tar-exclude-from.txt (tar --exclude-from file format)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r-- | 03-tar-exclude-from.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/03-tar-exclude-from.txt b/03-tar-exclude-from.txt new file mode 100644 index 0000000..f63ae66 --- /dev/null +++ b/03-tar-exclude-from.txt @@ -0,0 +1,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] |