How to RSYNC a single file?

后端 未结 4 1450
庸人自扰
庸人自扰 2021-01-31 06:33

Currently i only RSync-ing the Directories as like:

* * * * * rsync -avz /var/www/public_html/images root@:/var/www/public_html
         


        
4条回答
  •  遇见更好的自我
    2021-01-31 07:12

    Basic syntax

    rsync options source destination
    

    Example

    rsync -az /var/www/public_html/filename root@:/var/www/public_html
    

    Read more

提交回复
热议问题