Recursive filetype include

Max Bowsher maxb at
Sat Mar 15 10:23:59 EST 2003

Mark Palatucci wrote:
> Hi Max,
> The exact line is:
> /usr/local/bin/rsync --rsh=ssh -azvv --delete --force --include
> 'cpp/*.htm' --exclude '*.htm' --exclude "CVS*" --exclude 'Makefile'
> --exclude '*.sh' --exclude '*.psd' $localdir/ user at
> This gets .htm's in cpp/, but not in dirs like cpp/foo/ or cpp/bar/

man rsync, and search for **  should help you there.


More information about the rsync mailing list