mv: do not override destination file that is newer than source file (update move)

mv does not support the update option, unlike rsync and cp. If your version of coreutils does support it, using cp (followed by rm) is the easiest way to perform an update move operation:

rsync remote directory, filter file names but keep directory structure

copy folders recursively via ssh (no password but key file)

From local to remote: From remote to local: