Uta*_*ead 18
用这个:
rsync -a /source /destination
Run Code Online (Sandbox Code Playgroud)
或者,您可以使用其他一些标志(如-v或 )获取更多详细信息--progress。
ste*_*tew 10
从cp联机帮助页:
-u, --update
copy only when the SOURCE file is newer than the destination file or when the
destination file is missing
Run Code Online (Sandbox Code Playgroud)