Glenn L McGrath | ce91c8a | 2003-12-26 14:01:37 +0000 | [diff] [blame] | 1 | # FEATURE: CONFIG_FEATURE_TAR_FROM |
2 | # FEATURE: CONFIG_FEATURE_TAR_CREATE | ||||
Matt Kraai | 3889078 | 2001-10-30 23:11:20 +0000 | [diff] [blame] | 3 | touch foo bar baz |
4 | tar cf foo.tar foo bar baz | ||||
5 | echo foo >foo.exclude | ||||
6 | rm foo bar baz | ||||
7 | busybox tar xf foo.tar foo bar -X foo.exclude | ||||
8 | test ! -f foo -a -f bar -a ! -f baz |