๊ธฐ๋ณธ์ ์ผ๋ก SSH๋ฅผ ์ฌ์ฉํ์ฌ ์๊ฒฉ ํธ์คํธ ๊ฐ์ ํ์ผ์ ์ ์กํฉ๋๋ค(๋ ์๊ฒฉ ํธ์คํธ ์ฌ์ด๋ ์๋๋๋ค). ์๊ฒฉ ๊ฒฝ๋ก๋ฅผ ์ง์ ํ๋ ค๋ฉด,
ํธ์คํธ:๊ฒฝ๋ก/๋์/ํ์ผ_๋๋_ํด๋
๋ฅผ ์ฌ์ฉํ์ธ์. ๋ ๋ง์ ์ ๋ณด: https://download.samba.org/pub/rsync/rsync.1.
rsync {{๊ฒฝ๋ก/๋์/์์ค}} {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}
rsync --archive {{๊ฒฝ๋ก/๋์/์์ค}} {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}
rsync --compress --verbose --human-readable --partial --progress {{๊ฒฝ๋ก/๋์/์์ค}} {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}
rsync --recursive {{๊ฒฝ๋ก/๋์/์์ค}} {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}
rsync --recursive {{๊ฒฝ๋ก/๋์/์์ค}}/ {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}
rsync --recursive --archive --update --copy-links {{๊ฒฝ๋ก/๋์/์์ค}} {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}
rsyncd
๋ฅผ ์คํํ๋ ์๊ฒฉ ํธ์คํธ๋ก ํด๋๋ฅผ ์ ์กํ๊ณ ์์ค์ ์กด์ฌํ์ง ์๋ ๋์์ ํ์ผ์ผ ์ญ์ :rsync --recursive --delete rsync://{{ํธ์คํธ}}:{{๊ฒฝ๋ก/๋์/์์ค}} {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}
rsync --rsh 'ssh -p {{port}}' --info=progress2 {{ํธ์คํธ}}:{{๊ฒฝ๋ก/๋์/์์ค}} {{๊ฒฝ๋ก/๋์/๋ชฉ์ ์ง}}