Excluding most and including some problems continue.
matt at mattmccutchen.net
Fri Oct 1 14:38:44 MDT 2010
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, each of which should include the /htdocs/docs/ subdir).
> But if you start adding more, it could get more annoying to have to
> manually fiddle with the rules.
> The attached script takes as input lines of the form:
> and produces what should work as a filter file.
A similar script is distributed with rsync: support/files-to-excludes .
More information about the rsync