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: > /rooted/path/to/include > > and produces what should work as a filter file.
A similar script is distributed with rsync: support/files-to-excludes . -- Matt -- 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