[Bug-tar] Fwd: --no-recursion placed after --files-from will not take effect

2018-08-30 Thread Yun-Chih Chen
This one is buggy (--no-recursion doesn't take effect): $ find . -depth -xdev -print0 -type f | tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --label test --sparse --numeric-owner --file /tmp/bar && tar tf /tmp/bar ./1/2/3/d ./1/2/3/c ./1/2/3/b ./1/2/3/a

[Bug-tar] --no-recursion placed after --files-from will not take effect

2018-08-30 Thread Yun-Chih Chen
This one is buggy (--no-recursion doesn't take effect): $ find . -depth -xdev -print0 -type f | tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --label test --sparse --numeric-owner --file /tmp/bar && tar tf /tmp/bar ./1/2/3/d ./1/2/3/c ./1/2/3/b ./1/2/3/a

Re: [Bug-tar] Fwd: --no-recursion placed after --files-from will not take effect

2018-08-30 Thread Sergey Poznyakoff
Yun-Chih Chen ha escrit: > This one is buggy (--no-recursion doesn't take effect): This is intended. Please see the GNU Tar Manual, section 3.4.4 "Position-Sensitive Options". Regards, Sergey