Re: Detecting when Rsync changes a file

2002-11-21 Thread Yoink!
On 21 Nov 2002, Jeff Bearer wrote: > I'm trying to put together a shell script the detects when rsync changes > a file. I'd prefer not to have to store meta data in files, so I'm > looking at using the atime and the mtime of the file and the -N file > test operator in bash which returns true if th

Detecting when Rsync changes a file

2002-11-21 Thread Jeff Bearer
I'm trying to put together a shell script the detects when rsync changes a file. I'd prefer not to have to store meta data in files, so I'm looking at using the atime and the mtime of the file and the -N file test operator in bash which returns true if the mtime == the atime for the file. The pro