On Tue, Oct 18, 2005 at 04:05:18PM +0200, stoil valchkov wrote:
> Obviously I would like to get all files & directories which has in path
> **MY**


The only solution rsync provides is to scan all directories, like this:

--include='*/' --include='*MY*/*' --include='*MY*' --exclude='*'

That creates the entire directory hierarchy, but only copies the
contents of a directory named *MY* and any files that are named
*MY*. If you want finer control, you need to do the scan yourself
and use the --files-from option.

...wayne..
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html