Google hasn't been a whole lot of help here, so here goes... Using the -r switch appears to impose a significant performance hit on low[er] end (embedded) systems, i.e. those without scads of memory, and/or multi-core workstation or server class machines. If you DON'T specify the -r switch, surely rsync won't ignore directory trees - or will it? Warm regards & TIA -C -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20120301/639c7484/attachment.html>
Without the -r switch, I believe that rsync will ignore directory trees. Very often, I think rsync is run with -a, which includes -r, so it's easy to miss this fact. If you want to reduce memory/processor demand, I think that -r --no-i-r may help. On Mar 1, 2012, at 6:29 AM, Colin Raven wrote:> Google hasn't been a whole lot of help here, so here goes... > > Using the -r switch appears to impose a significant performance hit on low[er] end (embedded) systems, i.e. those without scads of memory, and/or multi-core workstation or server class machines. If you DON'T specify the -r switch, surely rsync won't ignore directory trees - or will it? > > Warm regards & TIA > > -C > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.htmlElliot 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20120301/8556138c/attachment.html>
-----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). On 03/01/12 09:29, Colin Raven wrote:> Google hasn't been a whole lot of help here, so here goes... > > Using the -r switch appears to impose a significant performance hit > on low[er] end (embedded) systems, i.e. those without scads of > memory, and/or multi-core workstation or server class machines. If > you DON'T specify the -r switch, surely rsync won't ignore > directory trees - or will it? > > Warm regards & TIA > > -C > > >- -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ 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/ iEYEARECAAYFAk9PzzgACgkQVKC1jlbQAQcVfgCgrWFPf697JnlhmcA+Aiu+pts0 gQsAnAt77Wt+h5ETVYgCs+LLul+L0N11 =Asbf -----END PGP SIGNATURE-----