linux create the relevant directory to be synchronized

[root@rsync-server-1 ~]# mkdir /data/{web,web_data}/redhat.sx -p

 

 

[root@rsync-server-1 ~]# tree /data

 

 

/data

 

├── web_data

  

│  └── redhat.sx

 

└── web

 └── redhat.sx

 

Tip: This step must be performed on the S1, S2, otherwise, rsync service because there is no path and PATH can not start.

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11326820.html