From 4ce5f6474041bb9e873bb00a03138c1847e9d765 Mon Sep 17 00:00:00 2001 From: lace <> Date: Sun, 18 Jul 2010 18:02:24 +0000 Subject: [PATCH] rsync: --rsync-path: +ionice --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 96d7d35..35df518 100644 --- a/.bashrc +++ b/.bashrc @@ -243,7 +243,7 @@ function finame { find . -false ` `; } function mkcd { mkdir -p "$1"; cd "$1"; } function pushdmk { mkdir -p "$1"; pushd "$1"; } -function rsync {(unset rsync; nice -n20 rsync -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 rsync' "$@"; );} +function rsync {(unset rsync; nice -n20 rsync -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 ionice -c3 rsync' "$@"; );} function tohex { od -An -txC|tr -d '\n '|tr 'a-f' 'A-F';echo; } function edall { find -type f|while read -r i;do -- 1.8.3.1