tar-handles-exclude-and-extract-lists 236 B

12345678
  1. # FEATURE: CONFIG_FEATURE_TAR_FROM
  2. # FEATURE: CONFIG_FEATURE_TAR_CREATE
  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