[Discuss] When you omit rsync '--update' option

Jerry Feldman gaf at blu.org
Thu May 3 17:04:26 EDT 2012


On 05/03/2012 10:46 AM, Doug wrote:
> My default has been:
>
> rsync -av user_1 at machine_1:foo/  user_2 at machine_2:foo/
>
> from the man page:
> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
>
> Lots, but no u.  So I should be doing -avu, or rsync with a view?
> That might be remembered.
Depends if you want to overwrite or not. I generally use -u when doing
an rsync, It does not hurt.

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id:3BC1EB90 
PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66  C0AF 7CEA 30FC 3BC1 EB90




More information about the Discuss mailing list