60

rsync+inotify实现实时同步-benben

 6 years ago
source link: http://blog.51cto.com/453412/2073669
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、前期准备 1、准备两台主机,我这里的系统是rhel7,分别是192.168.4.11和192.168.4.22二、rsync命令的用法:1、基本格式:   rsync  [选项]   目录1/   目录2/  注意加斜线和不加斜线的区别,加斜线就是只同步目录下的文件2、选项:列举一些常用的选项 -n   &nbsp

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK