"Rsync"의 두 판 사이의 차이
(→명령모드(rsync)) |
(→명령모드(rsync)) |
||
15번째 줄: | 15번째 줄: | ||
==명령모드(rsync)== | ==명령모드(rsync)== | ||
− | src | + | src path 끝에 / 가 있거나 . 이면 목적지에 src의 마지막 디렉토리명으로 디렉토리를 생성하지 않는다. |
===옵션=== | ===옵션=== |
2019년 4월 23일 (화) 12:10 판
데몬모드(rsyncd)
[section]
comment = comment
path = path
uid = uid
gid = gid
use chroot = yes
read only = no
hosts allow = ip_address(192.168.0.1/24 127.0.0.1/8)
max connections = 5
timeout = 60
sudo systemctl start rsync.service
명령모드(rsync)
src path 끝에 / 가 있거나 . 이면 목적지에 src의 마지막 디렉토리명으로 디렉토리를 생성하지 않는다.
옵션
-z, --compress compress file data during the transfer
--progress show progress during transfer