How to check the progress of files moved from one place to another in terminal? I am new to terminal. I started moving 30 gigs of data, from my desktop to my portable harddisk with the command mv location1 location2.

The problem is, I cannot see, how much data has been transferred. 

How to see the progress in a bar format or in percentage format?
I found this https://github.com/atdt/advcpmv it adds the -g option to cp and mv which will display a progress bar.

Here's how I got it to work on El Captain:

Requirements:


Xcode
wget (you can install wget with brew or MacPorts)  


Then:

wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.21.tar.xz
tar xvJf coreutils-8.21.tar.xz
cd coreutils-8.21/
wget https://raw.githubusercontent.com/atdt/advcpmv/master/advcpmv-0.5-8.21.patch
patch -p1 -i advcpmv-0.5-8.21.patch
./configure
make


At this point you will have cp and mv binaries in src/ give them a try and if you don't have problem with them you can move them to /usr/local/bin.

You may also rename the two binaries to cpgres and mvgres (or other unique names) so that you can use the standard cp/mv commands also.