On Thu, Apr 14, 2011 at 6:15 PM, Binand Sethumadhavan <[email protected]>wrote:
> 2011/4/14 Sagar Belure <[email protected]>: > > Pardon my misunderstanding, but it still says that, > > "....files that have changed in size or in *last-modified time*...." > > > > Or, if not rsync I wish to fulfill my requirement. > > What is your requirement then? I thought you wanted to use mtime > always irrespective of file size. That's precisely what rsync does, as > per the man page - it says, paraphrasing, IF localsize != remotesize > OR localmtime != remotetime THEN process the file. That is, IF > localsize == remotesize AND localmtime == remotemtime THEN (and only > then) leave the file alone. From the last one, it is evident that if > the mtimes differ, rsync will process the file irrespective of what > the sizes are. > Sorry for late reply. I don't remember, what I was doing during testing, was confused. It does its job as expected. Apology for bothering, and thanks Binand for your help. Thanks, Sagar Belure -- http://mm.glug-bom.org/mailman/listinfo/linuxers

