复制或 rsync 命令 [英] Copy or rsync command

查看:45
本文介绍了复制或 rsync 命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下命令按预期工作...

The following command is working as expected...

cp -ur /home/abc/* /mnt/windowsabc/

rsync 比它有什么优势吗?有没有更好的方法让备份文件夹每 24 小时保持同步?

Does rsync has any advantage over it? Is there a better way to keep to backup folder in sync every 24 hours?

推荐答案

Rsync 更好,因为它只会复制更新文件的更新部分,而不是整个文件.如果需要,它还可以使用压缩和加密.查看此教程.

Rsync is better since it will only copy only the updated parts of the updated file, instead of the whole file. It also uses compression and encryption if you want. Check out this tutorial.

这篇关于复制或 rsync 命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆