Matt Kraai | 6b140ea | 2002-02-19 23:43:08 +0000 | [diff] [blame] | 1 | # FEATURE: CONFIG_FEATURE_TAR_EXCLUDE |
Matt Kraai | 3889078 | 2001-10-30 23:11:20 +0000 | [diff] [blame] | 2 | touch foo bar baz |
3 | tar cf foo.tar foo bar baz | ||||
4 | echo foo >foo.exclude | ||||
5 | rm foo bar baz | ||||
6 | busybox tar xf foo.tar foo bar -X foo.exclude | ||||
7 | test ! -f foo -a -f bar -a ! -f baz |