rsync -avu path/to/dir/fileA path/to/dir/fileB -a do the sync preserving all filesystem attributes -v run verbosely -u only copy files with a newer modification time (or size difference if the times are equal)
rsync -avu path/to/dir/fileA path/to/dir/fileB -a do the sync preserving all filesystem attributes -v run verbosely -u only copy files with a newer modification time (or size difference if the times are equal)
Comments