linux cp mv directory with progress bar

One of the things that annoys me most is when in the cli to copy/move large directory, so I don't know what percentage of the whole size I pretrial. Unfortunately cp/mv have no such forces and the necessary resort to alternative options. There are quite a few options, but for me personally the most I like to use rsync instead of pc/mv. It has everything built-in – the protection of the rights to files and directories, progress bar, like the ability to delete copied files.

In General, I made myself 2 alias-and who do more than marvelous job:

alias cpi='rsync -a --info=progress2'
alias mvi='rsync -a --info=progress2 --remove-source-files'

leave a reply

Your email address will not be published. Required fields are marked *

anti SPAM *