Rsync can read paths, lists (--include-from=, etc ...) or expand shell's wildcards, but it can't do searches in the sense that you're describing here. They're usually find's domain.
Originally Posted by masterashley
So to search for given directories anywhere in the parent's directory tree, that contain "mysearch" term and keep the directory structure intact while copying, you can do something like:
Note the rsync's -r (--recursive) option.
find . -name '*mysearch*' -type d -print0 | rsync -avr0 --files-from=- . user@remote:/destination/dir