From: lace <> Date: Mon, 4 Feb 2008 18:55:01 +0000 (+0000) Subject: rsync: Nice also the local part. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=af8421fe8ce3fa4efbc650dda89b071a4038cb1d rsync: Nice also the local part. --- diff --git a/.bashrc b/.bashrc index 5b9a09c..928315f 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 --rsync-path='nice -n20 rsync' "$@"; );}; export -f rsync +function rsync {(unset rsync; nice -n20 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