bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Re: Tarring with --files-from/-T adds files multiple times


From: Tyson Tucker
Subject: [Bug-tar] Re: Tarring with --files-from/-T adds files multiple times
Date: Mon, 27 Jul 2009 17:13:46 -0700



On Fri, Jul 24, 2009 at 10:11 AM, Tyson Tucker <address@hidden> wrote:
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.

I should add that it seems to be deterministic, ie if a gets added 3 times on one run, it will be added times every run.  Also, the limit isn't 3 duplicates, I've now seen up to 5.

Thanks,
Tyson
 

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

Let me know if you need any more details.

Thank you,
Tyson


reply via email to

[Prev in Thread] Current Thread [Next in Thread]