Last Updated: February 25, 2016
·
911
· dhaya

rsync copy/move

When you're using cp or mv to copy/move large files, you can't get a sense of how it's going: progression, speed, etc.

To remedy this situation here are two snippets you add to your .bashrc file, that will allow copying or moving files using rsync, which will bring useful information to your terminal.

alias rcp='rsync --partial --progress --append --rsh=ssh -r -h'
alias rmv='rsync --partial --progress --append --rsh=ssh -r -h --remove-sent-files'

Of course, you can change the alias names to whatever suits you best.