Rsync是文件备份工具,当然也可以当做传输工具,管理远程服务器的文件

上传

rsync -avzP --progress --port 9106 /path/.../指定文件 root@192.168.09.12::path --password-file=/path/.../rsyncd.password

删除

rsync -avzP --include='+ /指定文件' --include='- /*' --delete /空目录/ /指定文件所在目录/

未完待续……

 
 http://blog.csdn.net/tmt123421/article/details/52511497

相关文章:

  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-01-22
  • 2021-06-06
  • 2021-11-11
猜你喜欢
  • 2021-11-26
  • 2021-12-14
  • 2022-01-03
  • 2021-05-27
  • 2022-03-05
  • 2022-12-23
  • 2022-02-02
相关资源
相似解决方案