I want to sync files in dir1 and dir2 (two different servers).
I do not care if the file sizes or modification times differ.
EXAMPLE: dir1 contains file1, file2, file3, file4, and dir2 contains file2, file3, file5
I want file5 copied to dir1, and file1, file4 copied to dir2.
Note that file2 sizes differ, as do file3 modification times, but I do not care. My network is private as well, so I do not want any security overhead.
Which would be fastest:
rsync, scp, or cp over NFS mount? And, precisely, what is the corresponding command line?