include-from or files-from

Steven Levine steve53 at
Fri Oct 22 12:11:27 MDT 2010

In <AANLkTim93g-cp9obGhZE3JX8JRNwELYJOe=WHTHR5hRb at>, on
   at 11:30 AM, ml ml <mliebherr99 at> said:

Hi listee,

>If i change my file list to:
>+ 165/165950*
>+ 166/166072*
>- *

This is a common use case.  Read the man page section titled
INCLUDE/EXCLUDE PATTERN RULES and find the part that reads

              + /some/
              + /some/path/
              + /some/path/this-file-is-found
              + /file-also-included
              - *

It should help you understand how to set up the filter rules you need.

The docs discuss a couple of other ways to solve this problem.



"Steven Levine" <steve53 at>  eCS/Warp/DIY etc.

More information about the rsync mailing list