Migrate files and directories between two remote servers with rsync and progress bar
To push an archive file from local to remote server with progress bar use:
rsync --rsh -av -e 'ssh -p #####' --progress --partial file.tgz [email protected]:/backup
To push the content of the directory from local to remote server recursively with progress bar use:
rsync -avz -e 'ssh -p #####' --progress --partial localdirectory/ [email protected]:/backup/
Add new comment