Created
January 12, 2013 16:56
-
-
Save torgeir/4519226 to your computer and use it in GitHub Desktop.
`cp` with progress bar (on os x)
This file contains 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 characters
brew install pv | |
echo "cp_with_progress() { pv < $1 > $2; }" >> .profile | |
# restart shell | |
cp_with_progress somefile somenewfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment