Rclone is better
- do not ask passworkd - use ssshpass - for ci cd
rsynnc args
sshpass
폴더 순서가 시작점 끝점
directory option
Why is rsync skipping the main directory?
Thanks for contributing an answer to Server Fault! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
https://serverfault.com/questions/363555/why-is-rsync-skipping-the-main-directory
ssh file
Specify identity file (id_rsa) with rsync
Thanks for contributing an answer to Unix & Linux Stack Exchange! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience.
https://unix.stackexchange.com/questions/127352/specify-identity-file-id-rsa-with-rsync
Rsync creates error message unexplained error (code 255) at io.c(837)
Thanks for contributing an answer to Ask Ubuntu! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
https://askubuntu.com/questions/554754/rsync-creates-error-message-unexplained-error-code-255-at-io-c837
korean option description
[Linux] rsync를 이용해 로컬 또는 원격에 파일 복사하기
Practice makes perfect!
https://twpower.github.io/153-copy-files-using-rsync-command
Copy folders (not one file) using SSH ubuntu?
You can use secure copy (scp) with the recursive option (-r): scp -r /path/to/local/dir user@remotehost:/path/to/remote/dir Alternatively, I recommend rsync because you can resume transfers if the connection breaks, and it intelligently transfers only the differences between files: rsync -avz -e 'ssh' /path/to/local/dir user@remotehost:/path/to/remote/dir Note that in both cases you should be careful of trailing slashes: moving /path/to/local/dir to remotehost:/path/to/remote/dir/ results in /path/to/remote/dir/dir
https://askubuntu.com/questions/446724/copy-folders-not-one-file-using-ssh-ubuntu
fast_rsync

Seonglae Cho