[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with GNU tar version 1.13.25
From: |
Paul Eggert |
Subject: |
Re: Problem with GNU tar version 1.13.25 |
Date: |
01 Apr 2003 11:18:21 -0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3 |
Wayne Pollock <address@hidden> writes:
> Either with or without xargs, tar was archiving many files more than
> once! In some cases it seems to be once only, sometimes twice,
> and sometimes more than that. This only appears to be a problem
> with "--null -T -" options.
> address@hidden etc]# find . -print0 | tar -cz --null -T - -f /tmp/foo.tgz
Normally tar outputs all files under a directory, and find outputs
both the directory name and the files under that directory, so
that would explain why tar is outputting the files more than once.
You might try "tar -cz -f /tmp/foo.tgz ."