In <4ca449ea.2858.00a...@cdpr.ca.gov>, on 09/30/10 at 08:27 AM, "Ian Skinner" <iskin...@cdpr.ca.gov> said:
Hi, >Here is my rsync command as it currently stands. >/usr/local/bin/rsync -vvv --stats -Pzrtpl --delete >--password-file=/export/home/webuser/.appprod >--log-file=/export/home/webuser/logs/rsync-log -F /export/home/ >webu...@appprod::dprweb_extranet/ > rsync-test >This is doing pretty close to what I want it to do. Which is to mirror >only the */htdocs/docs* in each of the ten directories (das,em,enf,etc.) >in the base path of */export/home* and exclude the rest. I'm not sure I entirely understand what you want, but what about + das/**/htdocs/docs* + em/**/htdocs/docs* etc. or possibly + das/**htdocs/docs* + em/**/htdocs/docs* etc. I'm not sure if the addtional slash is required without setting up a testcase. If you really want just the files matching */htdocs/docs/*, the above needs to change slightly. Steven -- ---------------------------------------------------------------------- "Steven Levine" <stev...@earthlink.net> eCS/Warp/DIY etc. www.scoug.com www.ecomstation.com ---------------------------------------------------------------------- -- 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