dil_bert Posted March 13, 2016 Share Posted March 13, 2016 (edited) hellowant to do a recursive copy of my home drive to a external driveand i want to use pv - to have an overview on the progress.why does this fail pv -p -e -r -b r martin/* > /run/media/martin/HDDRIVE2GO/medion/medion2017/ this command fails -questions :- do i use too much parameter within the above mentioned pv-command?- besides this: how would i write this command with rsync- would i have an overview - in rsync too:there is such an option: showing-total-progress-in-rsync-is-it-possible how would i write this command with rsync #> ./rsync -a --info=progress2 /usr .305,002,533 80% 65.69MB/s 0:00:01 xfr#1653, ir-chk=1593/3594) Edited March 13, 2016 by dil_bert Quote Link to comment https://forums.phpfreaks.com/topic/300992-copy-with-pv-to-see-the-progress-of-the-process/ Share on other sites More sharing options...
requinix Posted March 14, 2016 Share Posted March 14, 2016 pv can only act like cat, and you can't use that to copy a directory structure either. How about doing a cp -v to see each file being copied? Or maybe... uh, tar c to stdout, piped to pv, piped to tar x from stdin? But doing this might even slow down the copy. As for rsync, -v and/or --progress should work. No pv. Quote Link to comment https://forums.phpfreaks.com/topic/300992-copy-with-pv-to-see-the-progress-of-the-process/#findComment-1531981 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.