zoukankan      html  css  js  c++  java
  • rsync排除多个文件实现同步

    首先创建exclude目录放入xx.list排除文件。

    [root@localhost tmp]# cat /exclude/a_exclude.list
    a.txt
    lai
    ————————————————————————
    a.txt——文件
    
    lai——目录
    ————————————————————————
    

    rsync命令:

    [root@localhost tmp]# rsync -avz --delete --force --password-file=/etc/rsync.password --exclude-from=/exclude/a_exclude.list root@192.168.247.135::wwww /tmp/
    
  • 相关阅读:
    Django01
    WEB框架介绍
    前端插件介绍
    JQuery
    DOM
    js
    css
    HTML
    图片懒加载
    js中style,currentStyle和getComputedStyle的区别
  • 原文地址:https://www.cnblogs.com/Dev0ps/p/8962942.html
Copyright © 2011-2022 走看看