rsync
1.1. root 권한 필요한 파일 동기화 할 때 ¶두 가지 방법이 있다.
1.3. 동기화할 목록을 표준 입력으로 받고 싶은 경우 ¶<del>files-from 옵션을 활용, </del>files-from=- 이렇게 쓰면 된다.
ls /home | rsync -av --files-from=- /home /var
2. ssh로 rsync 할 때 포트 번호 지정하는 방법 ¶2222번 포트를 사용할 경우
--rsh='ssh –p2222'
예를 들면
rsync -avz --progress --rsh='ssh –p26' /home/ /var/
3. rsync 속도제한 ¶--bwlimit=KBPS limit I/O bandwidth; KBytes per second rsync -avz --bwlimit=100 --progress --rsh='ssh –p22' /home/ root@kldp.org:/
|
If you always postpone pleasure you will never have it. Quit work and play for once! |











![[http]](/imgs/http.png)