rsync
[rclone](https://texonom.com/rclone-9b1c78d5188942b2926d9dfcd7a48356) 


## Rclone is better
- do not ask passworkd - use ssshpass - for ci cd

[sshpass](https://texonom.com/sshpass-e6aed39c038a472292eaa6e84a7a6470)

### rsynnc args
```type-rltgoDzvOv --delete```


```typersync -avz -e 'ssh' /path/to/local/dir user@remotehost:/path/to/remote/dir```




### directory option
> [Why is rsync skipping the main directory?](https://serverfault.com/questions/363555/why-is-rsync-skipping-the-main-directory)

### ssh file
> [Specify identity file (id_rsa) with rsync](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)](https://askubuntu.com/questions/554754/rsync-creates-error-message-unexplained-error-code-255-at-io-c837)

### korean option description
> [[Linux] rsync를 이용해 로컬 또는 원격에 파일 복사하기](https://twpower.github.io/153-copy-files-using-rsync-command)

> [Copy folders (not one file) using SSH ubuntu?](https://askubuntu.com/questions/446724/copy-folders-not-one-file-using-ssh-ubuntu)





