Skip to content

Instantly share code, notes, and snippets.

@torgeir
Created January 12, 2013 16:56
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save torgeir/4519226 to your computer and use it in GitHub Desktop.
Save torgeir/4519226 to your computer and use it in GitHub Desktop.
`cp` with progress bar (on os x)
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