[Bug-tar] Tarring with --files-from/-T adds files multiple times
From:
Tyson Tucker
Subject:
[Bug-tar] Tarring with --files-from/-T adds files multiple times
Date:
Fri, 24 Jul 2009 10:11:52 -0700
I haven't figured out what makes the duplicate files/directories
special, but some are duplicated up to three times in the tar file. I've tested it on versions 1.17 and 1.22 on Solaris and 1.22 on Linux.
To reproduce:
find /usr/local/lib /usr/local/share > test_file tar -c --files-from=test_file -f /tmp/test.tar tar -tf /tmp/test.tar | sort | uniq -d