Hi,
--files-from do not recursively extract since tar-1.27
In tar-1.26, i could put a directory name in a 'list' file and run ' tar
-xvf archive.tar --files-from list' to extract the directory recursively.
In tar-1.27 and tar-1.28 it extract only the directory, nothing inside it.
How to reproduce:
mkdir dir1
touch dir1/file1.1 dir1/file1.2
tar cf archive.tar dir1
echo dir1 > list
rm -rf dir1
tar xvf archive.tar --files-from list
$../tar-1.26/src/tar xvf archive.tar --files-from list
dir1/
dir1/file1.2
dir1/file1.1
$../tar-1.27/src/tar xvf archive.tar --files-from list
dir1/
$../tar-1.28/src/tar xvf archive.tar --files-from list
dir1/
How to get the same behavior as tar-1.26?
Also, if I put 'dir1/' (with the /) in the list file tar-1.27 and 1.28
report:
../tar-1.27/src/tar: dir1/: Not found in archive
../tar-1.27/src/tar: Exiting with failure status due to previous errors
tar-1.26 correctly extract it.
Jean-Louis