X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=5b9a09cbe3966639333ee51819a0ced1d891cd8c;hp=778f3db625d7fa76ae5718b3d1fef166616cb5a2;hb=4a06846735eacac3daf49ed380bb634e072fdeb6;hpb=151255554e1863cc8ab9812d40d42fcf4b00e393 diff --git a/.bashrc b/.bashrc index 778f3db..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 "$@"; );}; 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