phase1: reduce verbosity of rsync
[buildbot.git] / phase1 / rsync.sh
1 #!/bin/bash -x
2
3 export LC_ALL=C
4
5 PV=`which pv`
6 RSYNC=rsync
7
8 if [[ -x $PV ]]; then
9 $RSYNC "$@" | $PV -t -i 60 -f
10 else
11 $RSYNC "$@"
12 fi