Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tar-handles-nested-exclude « tar « testsuite - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39013a10540bebeeb315ef22c14090b5ef72d533 (plain)
1
2
3
4
5
6
7
8
9
# FEATURE: CONFIG_FEATURE_TAR_FROM
# FEATURE: CONFIG_FEATURE_TAR_CREATE
mkdir foo
touch foo/bar
tar cf foo.tar foo
rm -rf foo
echo foo/bar >foobar.exclude
busybox tar xf foo.tar foo -X foobar.exclude
test -d foo -a ! -f foo/bar