I was already using the -d option, it download the subdirs also.
The --exclude option worked fine though, and --delete-before is now
working very well.
Tks to all!
Best regards,
                         Tiago Marques


On Fri, Jul 4, 2008 at 11:18 PM, Wayne Davison <[EMAIL PROTECTED]> wrote:
> On Fri, Jul 04, 2008 at 05:08:41PM -0400, Matt McCutchen wrote:
>> Use --recursive and then exclude the stuff you don't want, e.g.,
>> --exclude='/*/' to exclude all subdirectories.
>
> You can also use -d (--dirs) instead of -r (--recursive).  That makes
> rsync transfer just the contents of a specified "dir/" (with trailing
> slash) without the contents of any subdirs.  All modern rsyncs will
> allow --delete* to be used with -d w/o -r (though older rsyncs will
> ignore the --delete* option w/o -r).  Matt's suggestion (the use of
> excludes) will work with all rsync versions.
>
> ..wayne..
>
-- 
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.html

Reply via email to