From 85e175579943982f754634cf505c90c9ae82b541 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 2 Nov 2020 17:17:27 +0000 Subject: [PATCH] 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 --- shells/shared/aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shells/shared/aliases b/shells/shared/aliases index 19e3d859..b58c837e 100644 --- a/shells/shared/aliases +++ b/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 # ###################