Ralph Corderoy <ra...@inputplus.co.uk> wrote:

> Hi Steffen,
>
> > So it collects a list of files in a textfile, and then either
> >   $tarxcmd = "tar -c -f - | $COMPRESSOR > $ar";
> > or
> >   $tarxcmd = "tar -r -f $ar >/dev/null";
>
> With the second of these, $ar isn't a compressed file name, like
> foo.tar.gz?  Which was used for the problem tar file?
>
> > and then
> >         unless (open XARGS, "| xargs -0 $tarxcmd 2>>$MFFN") {
>
> So xargs may run tar more than once, and if $#{$listref} has been
> growing then perhaps it's tipped over from one invocation to two
> recently?

If you like to create working incremental backups that are able to handle file 
renames, you need to backup any filesystem with exactly one command run, so 
xargs is a really bad idea.

Jörg

-- 
 EMail:jo...@schily.net                    (home) Jörg Schilling D-13353 Berlin
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'

Reply via email to