Re: Excluding most and including some problems continue.

2010-10-01 Thread Ian Skinner
>>> On Friday, October 01, 2010 at 7:54 AM, in message >> + /das >> + /em >> + /enf >> + /internal >> + /itb >> + /medtox >> + /pml >> + /psb >> + /reg >> + /whs >> - /* >> > + /*/htdocs > - /*/* > > + /*/htdocs/docs >> - /*/htdocs/* Thanks Wayne, this worked well and seems simpler and lazier the

Re: Excluding most and including some problems continue.

2010-10-01 Thread Matt McCutchen
On Fri, 2010-10-01 at 16:28 -0400, Benjamin R. Haskell wrote: > I think I sent a variant of the attached Perl script last time someone > was asking something similar. What Wayne suggested is better right now > (that is: while your patterns are very simple -- just a few root-level > directories,

Re: Excluding most and including some problems continue.

2010-10-01 Thread Benjamin R. Haskell
On Fri, 1 Oct 2010, Wayne Davison wrote: On Thu, Sep 30, 2010 at 8:27 AM, Ian Skinner wrote: Unfortunately there are some subdirectories in some of these selected */htdocs/docs* directories that are unintentionally being excluded by these rules. I.E. */export/home/enf/htdocs/docs/county/inte

Re: Excluding most and including some problems continue.

2010-10-01 Thread Wayne Davison
On Thu, Sep 30, 2010 at 8:27 AM, Ian Skinner wrote: > Unfortunately there are some subdirectories in some of these selected > */htdocs/docs* directories that are unintentionally being excluded by these > rules. I.E. */export/home/enf/htdocs/docs/county/internal/*. It is usually best to anchor

Re: Excluding most and including some problems continue.

2010-09-30 Thread Steven Levine
In <4ca4be08.2858.00a...@cdpr.ca.gov>, on 09/30/10 at 04:42 PM, "Ian Skinner" said: Hi, >> + das/htdocs/docs/* >> + em/htdocs/docs/* >> etc. >> + */ >> - * >Thanks for the suggestion, but that did not seem to produce the desired >results. I did not look into why in detail, but a dry run pro

Re: Excluding most and including some problems continue.

2010-09-30 Thread Ian Skinner
>>> Steven Levine Thursday, September 30, 2010 3:22 PM >>> >>> > It's close, but you need to augment is a bit. Try > + das/htdocs/docs/* > + em/htdocs/docs/* > etc. > + */ > - * Thanks for the suggestion, but that did not seem to produce the desired results. I did not look into why in detail

Re: Excluding most and including some problems continue.

2010-09-30 Thread Steven Levine
In <4ca4958c.2858.00a...@cdpr.ca.gov>, on 09/30/10 at 01:50 PM, "Ian Skinner" said: Hi, >>or possibly >> >> + das/**htdocs/docs* >> + em/**/htdocs/docs* >> etc. >I'm not sure what the difference between the first example and the second >example is supposed to be? That's my bad eyes. This s

Re: Excluding most and including some problems continue.

2010-09-30 Thread Ian Skinner
>>> Steven Levine Thursday, September 30, 2010 11:14 AM >>> >>> >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 what the difference between

Re: Excluding most and including some problems continue.

2010-09-30 Thread Steven Levine
In <4ca449ea.2858.00a...@cdpr.ca.gov>, on 09/30/10 at 08:27 AM, "Ian Skinner" 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 /exp