20+ Rsync command’s switches and common usages with example
发布时间:2021-01-24 17:17:04 所属栏目:Linux 来源:网络整理
导读:副标题#e# reference:http://crybit.com/rsync-commands-switches/ The “rsync” is a powerful command under the Linux environment. The rsync stands for Remote Sync. Normally rsync is used to transfer file from one server(source) to another
Examples: [root@support crybit]# rsync -avz /root/crybit/ 109.200.11.67:/root/Rsinc101 root@109.200.11.67's password: stdin: is not a tty sending incremental file list created directory /root/Rsinc101 ./ rsync1.txt rsync10.txt rsync2.txt rsync3.txt ... ... sent 1028 bytes received 399 bytes 190.27 bytes/sec total size is 0 speedup is 0.00 Note 1 : In example 3 and 4 you can use user@IP:/path format,if you have only the user privilege on server Note 2 : The rsync will automatically create the destination directory/location if it isn't there. That’s it !!? Related:,?,?,?,?,?,?,?,?,?,?,?,?,,?,?,?, (编辑:淮北站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |