Does rsync overwrite the new file
Solution 1:
If the file contents are the same, then no; it will merely fudge the metadata to match. If the file contents differ then the file will be overwritten; use --ignore-existing
to change this behavior, or -u
to use a different, sane behavior.