bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] TAR creates hard links or duplicated files inside archive


From: Live user
Subject: Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option
Date: Fri, 2 Nov 2012 22:00:52 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 02/11/2012 21:28, Nathan Stratton Treadway wrote:

I believe that if you look closely at the output of the tar command
you'll see that each of those files is added to the the archive as part
of the processing the containing directory, and then a hard-link entry
is added when the the list.txt line containing the explict filename is
processed.

If that's indeed the problem, then using the "--no-recursion" option
should avoid the issue.


Thank you, that worked. Tar by default executes recursively, so depending on how it's been set up the list.txt to be used with -T option, the --no-recursion option may be used or not. In this case that includes every single file and folder, is mandatory.




reply via email to

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