2011/4/14 Sagar Belure sagar.belure@gmail.com:
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.
Binand