command, 외부서버로 접속하여 파일복사

1. 일반 파일복사
$ rsync -avzur --progress --stats -e ssh IP:/test/ /mnt/disk/test/

2. board/up_file 제외한 나머지 복사
$ rsync -avzur --progress --stats --exclude=db --exclude=board/up_file -e ssh IP:/XXX/ /var/www/html/XXX

댓글