2001-10-31 16:18:48 +00:00
|
|
|
# UNSUPPORTED: CONFIG_FEATURE_TAR_EXCLUDE
|
2001-10-30 23:11:20 +00:00
|
|
|
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
|