Christophe LYON christophe.lyon at
Tue Jan 16 13:54:51 GMT 2007

You can still use --filter: --filter=": my-rsync-filter"
will include the file my-rsync-filter in the list of rules (and 
recursively at each directory level).

This is very powerful and allows you to modify the filters without 
modifying the script which calls rsync.


On 16.01.2007 14:28, Julian Pace Ross wrote:
> Hi all,
> I've read the man page but still seem to be a bit confused:
> Is it possible to specify include/exclude rules to transfer files, for 
> example of type *.c and *abc, and exclude everything else?
> I am trying to avoid using --filter, since the list of patterns can be 
> quite long and can change often, and since there is no 
> --filter-from=FILE, my aim is to use the --include-from= and 
> --exclude-from= files.
> I tried putting *.c and *.abc in the include file, and * in the exclude 
> file, but nothing gets transferred.
> Tried a couple of other configurations but still nothing.
> Any help?
> Regards
> Julian

More information about the rsync mailing list