Copy a directory from local machine to remote machine using rsync September 28, 2019 rsync -avz -e 'ssh -p 22002' /root/backup/monitoring_201909280430 [email protected]:/root/backup/ References https://stackoverflow.com/questions/17828236/how-to-copy-a-directory-from-local-machine-to-remote-machine Related