问题原文
原帖链接 · Passionate Engineer · CC BY-SA 3.0
I'm using below command to transfer files cross server
scp -rc blowfish /source/directory/* [email omitted]:/destination/directory
Is there a way to transfer only files modified files just like update command for cp?
已采纳解答
原帖链接 · Flup · CC BY-SA 3.0
rsync is your friend.
rsync -ru /source/directory/* [email omitted]:/destination/directory
If you want it to delete files at the destination that no longer exist at the source, add the --delete option.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
