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.
Written by Dhaya Benmessaoud
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#