[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rsync usage
On Wed, Mar 20, 2002 at 09:54:59AM -0600, Danny Sauer wrote:
> Actually, if it's non-interactive, wouldn't just '--partial' be better than
> the '-P' option, as the -P also includes the somewhat verbose '--progress'
> option?
On any recent rsync I've used, -P is equivalent to --partial when
rsync is not attached to a tty (or maybe it's just when -v isn't
supplied - I can't recall at the moment). Basically it is just fewer
characters to type.
BTW, I'm also fond of fun stuff like this (from one of my mirror
scripts):
RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-aHP --delete --max-delete 1000"}
if [ -t ] ; then
RSYNC_OPTIONS="$RSYNC_OPTIONS -v"
fi
Steve
--
steve@silug.org | Southern Illinois Linux Users Group
(618)398-7360 | See web site for meeting details.
Steven Pritchard | http://www.silug.org/
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.