rsync of STDIN to a file.

Matt McCutchen matt at mattmccutchen.net
Thu Nov 19 14:55:32 MST 2009


On Thu, 2009-11-19 at 13:02 -0500, Eliot Moss wrote:
> Among other things, gzip embeds the names of the files that it
> zipped ... so why would you expect your two .gz files to be
> exactly the same? You'll need to use the same name for the
> tar files ... and even then, I bet gzip records date and
> time ...

Yes, that gzip behavior is pretty annoying.  I wish it would just stick
to its job of compression and not embed random metadata in its output;
that's tar's job.  (TODO: complain upstream.)

In any case, the behavior can be turned off with the -n option.

-- 
Matt



More information about the rsync mailing list