busybox/testsuite/tar/tar-handles-exclude-and-extract-lists
2001-10-30 23:11:20 +00:00

7 lines
164 B
Plaintext

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