Yet another include/exclude question
tonyt57 at gmail.com
Fri Nov 6 06:46:37 MST 2009
There is an example in the man pages for *.c files that will do what
Try: --include=*/ --include=*.foo --exclude=*
On Nov 6, 2009, at 12:43 AM, Thomas Gutzler wrote:
> How can I include only *.foo and *.bar files in an rsync?
> To make it a bit more difficult: Those files can be anywhere in the
> directory structure.
> I've been reading and trying for a while but the best I got is all
> *.foo and *.bar files in ./ but none of the ones inside any
> Please use reply-all for most replies to avoid omitting the mailing
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync