include-from or files-from

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


In <AANLkTim93g-cp9obGhZE3JX8JRNwELYJOe=WHTHR5hRb at mail.gmail.com>, on
10/22/10
   at 11:30 AM, ml ml <mliebherr99 at googlemail.com> said:

Hi listee,


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

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.

Regards,

Steven

-- 
----------------------------------------------------------------------
"Steven Levine" <steve53 at earthlink.net>  eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
----------------------------------------------------------------------



More information about the rsync mailing list