Changes between Version 1 and Version 2 of jazz/rsync


Ignore:
Timestamp:
Mar 22, 2017, 2:24:18 PM (8 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/rsync

    v1 v2  
    3030jazz@drbl:~$ sudo rsync -avzr --partial --progress /home/partimag/* /mnt/
    3131}}}
     32
     33 * 如果希望遠端是用 sudo 權限把檔案送進指定目錄,可以加上 `--rsync-path='sudo rsync'`
     34{{{
     35rsync -avzr --rsync-path='sudo rsync' --progress * ${remote_host}:/data/
     36}}}
     37}}}