File Transfer
-
PULL from remote:
rsync -chavzP --stats remote_username@remote_host:path/to/remote_directory path/to/local_directory
*rsync is only possible if the local AND remote machine have the package installed.
**rsync option explanation: Ubuntu Wikiscp -r remote_username@remote_host:path/to/remote_directory path/to/local_directory
*Recursively copy the contents of a directory from a remote host to a local directory
SEND to remote:
rsync -chavzP --stats path/to/local_directory remote_username@remote_host:path/to/remote_directory
*rsync is only possible if the local AND remote machine have the package installed.
**rsync option explanation: Ubuntu Wikiscp path/to/local_file remote_username@remote_host:path/to/remote_file