SHELL: Adds aliases for cp and mv with progress bars

I found patches at the link below for mv and cp that add options for
progress bars. I have applied and compiled them and named the commands
cpg and mvg as recommended in the readme. They are named like that (I
assume) because they add a -g flag for progress.

If they are present and in my path, I always want to use them with the
progress bar flag in place of cp or mv

https://github.com/jarun/advcpmv
Jonathan Hodgson 4 years ago
parent 3e16c54387
commit 85e1755799
  1. 4
      shells/shared/aliases

@ -123,6 +123,10 @@ type -p sc-im > /dev/null && alias sc="sc-im"
type mycli > /dev/null && alias mysql="echo \"You might want to use mycli instead\"; /usr/bin/mysql"
type pgcli > /dev/null && alias postgres="echo \"You might want to use pgcli instead\"; /usr/bin/postgres"
# These are the gnu coreutils mv and cp with a progress bar patched in
type mvg > /dev/null && alias mv="mvg --progress-bar"
type cpg > /dev/null && alias cp="cpg --progress-bar"
###################
# Git Shortcuts #
###################

Loading…
Cancel
Save