A nice utility to show the progress of utilities like cp and mv.

The utility I have found, named progress, will show the amount of data transferred when using commands such as cp or mv.

Download this utility by running this command.

git clone https://github.com/Xfennec/progress.git

Then build the utility.

14:39:50 0 ~
jason$ cd progress/
 
14:39:53 0 ~/progress
jason$ make
cc -g -Wall -D_FILE_OFFSET_BITS=64 -c progress.c
cc -g -Wall -D_FILE_OFFSET_BITS=64 -c sizes.c
cc -g -Wall -D_FILE_OFFSET_BITS=64 -c hlist.c
cc -Wall progress.o sizes.o hlist.o -o progress -lm -lncurses -ltinfo

And run this utility to get the progress of an ongoing copy or move operation.

14:45:20 0 ~/progress
jason$ ./progress 
[ 6149] cp /home/jason/Videos/starwars.mkv
	11.5% (409.2 MiB / 3.5 GiB)

This is how easy it is to get information about a large copy operation when you are using the shell to move large files.

Copy the executable to /usr/local/bin and it will be accessible at the shell whenever you need it.

No comments have been made. Use this form to start the conversation :)

Leave a Reply