Created
April 25, 2018 18:49
-
-
Save AlecZadikian9001/909789bcca957615f1e933c5c8122a48 to your computer and use it in GitHub Desktop.
Revisions
-
AlecZadikian9001 renamed this gist
Apr 25, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
AlecZadikian9001 created this gist
Apr 25, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # Tested in Ubuntu 14, requires pv copy () { echo Copying $1 to $2 cat $1 | pv -a -r -b -p -e -s $(stat --printf="%s" $1) > $2 }