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