How to copy one file in linux with progress bar, using pv

root's picture

This is just for fun as I do not see it's use in real life situation:

core:scripts# pv /home/backups/core/img/varlv.dd.gz > /home/recovery/varlv.dd.gz
1.05GB 0:00:40 [26.3MB/s] [=========================================================>] 100%

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.