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