The recursive switch

Kevin Korb kmk at sanitarium.net
Thu Mar 1 12:40:55 MST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, -a includes -r and a bunch of other things.

- --no-i-r disables the incremental recursion and forces rsync to hold
the entire tree in memory in addition to fully scanning the tree on
both ends before copying anything.

On 03/01/12 14:39, Elliot Wilen wrote:
> On Mar 1, 2012, at 11:34 AM, Kevin Korb wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> Without -r rsync will ignore all directories even if the path
>> you specified is a directory.  That is what recursive means.
>> 
>> If you are having memory usage issues make sure you are running
>> rsync version 3 on both ends and check that you aren't using any
>> of the options that conflict with incremental recursion (like
>> --delete-before).
> 
> Which contradicts what I wrote about using --no-i-r. I defer to
> Kevin.
> 
> But again, note that -a includes -r.
> 
> 
> Elliot Wilen Network Administrator/Postmaster Communications and
> Information Systems MPR Associates, Inc. 2150 Shattuck Ave., Suite
> 800 Berkeley, CA 94704 Phone: (510) 849-4942 Fax: (510) 849-0794
> 
> www.mprinc.com
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9P0McACgkQVKC1jlbQAQftygCgrfi7lEkCnnL/dQtEhJJYQYcf
hc4An2CjqoijKhc+rkiudqnfk8x3m7P5
=6xli
-----END PGP SIGNATURE-----


More information about the rsync mailing list