rsync compares all files again and again
fsteiner-mail1 at bio.ifi.lmu.de
Fri Oct 14 15:22:20 MDT 2011
Kevin Korb wrote
> Correct. rsync doesn't pay attention to ctime as it can't set ctime to
> arbitrary values.
The mail I was referring to indeed mentioned mtimes, sorry for that.
So, as far as I understand your replies, there is no way to prevent
rsync from comparing at least size/mtime of each and every file because
file contents can change without any flag/time/whatever of the directory
the file is in changes?
That's strange, shouldn't sth. change in the directory information if
a files status in the directory changes? Sth. like the archive flag in
The problem is that even just comparing sizes/mtimes can take hours
on a 12 TB raid of there are hundreds of directories and each has
25 million files in it :-o so I hoped for a shortcut for unchanged
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
More information about the rsync