busybox/testsuite/tar/tar-handles-exclude-and-extract-lists

9 lines
236 B
Plaintext
Raw Normal View History

# FEATURE: CONFIG_FEATURE_TAR_FROM
# FEATURE: CONFIG_FEATURE_TAR_CREATE
2001-10-31 04:41:20 +05:30
touch foo bar baz
tar cf foo.tar foo bar baz
echo foo >foo.exclude
rm foo bar baz
busybox tar xf foo.tar foo bar -X foo.exclude
test ! -f foo -a -f bar -a ! -f baz