On Mon, Apr 25, 2005 at 12:37:11AM +0800, Dan Jacobson wrote:
> all I did was change the sleep time and I get different results:
The change in the sleep time caused the files to get either the same
modtime (sleep 0) or a different modtime (sleep 1), and thus affected
whether rsync actually updated
Like nifteaux (nifto) man, all I did was change the sleep time and I
get different results:
$ touch u; sleep 0;touch v; chmod 0 v; rsync u v; ls -og u v; /bin/rm -f u v
-rw-r--r-- 1 0 2005-04-25 00:05 u
-- 1 0 2005-04-25 00:05 v
$ touch u; sleep 1;touch v; chmod 0 v; rsync u v; ls -og u