X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.bashrc;h=5b9a09cbe3966639333ee51819a0ced1d891cd8c;hb=c335ea30ae4499c10e68f37d7e9cc1ed2ac6ebd6;hp=98715763aeb683d95a2e9ee02f06f7b7e1dba087;hpb=baea28e44f56dfd9be82a4a5027e37d30a102997;p=nethome.git diff --git a/.bashrc b/.bashrc index 9871576..5b9a09c 100644 --- a/.bashrc +++ b/.bashrc @@ -221,7 +221,7 @@ function finame { find . -false ` `; }; export -f finame function mkcd { mkdir -p "$1"; cd "$1"; }; export -f mkcd function pushdmk { mkdir -p "$1"; pushd "$1"; }; export -f pushdmk -function rsync {(unset rsync; rsync -v -e ssh --progress --stats --partial --block-size=512 "$@"; );}; export -f rsync +function rsync {(unset rsync; rsync -v -e ssh --progress --stats --partial --rsync-path='nice -n20 rsync' "$@"; );}; export -f rsync function tohex { od -An -txC|tr -d '\n '|tr 'a-f' 'A-F';echo; }; export -f tohex function edall { find -type f|while read -r i;do