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 | mkdir foo |
3 | touch foo/bar | ||||
4 | tar cf foo.tar foo | ||||
5 | rm -rf foo | ||||
6 | echo foo/bar >foobar.exclude | ||||
7 | busybox tar xf foo.tar foo -X foobar.exclude | ||||
8 | test -d foo -a ! -f foo/bar |