rsync -update option
rsync -update option:
This option forces rsync to skip any files which exist on the destination and have a modified time that is newer than the source file. If an existing destination file has a modify time equal to the source file’s, it will be updated if the sizes are different.If the source has a directory or a symlink where the destination has a file, the transfer would occur regardless of the timestamps. This might change in the future.
Syntax :
rsync –update [SOURCE] [DESTINATION]
