include/exclude

Julian Pace Ross linux at prisma.com.mt
Tue Jan 16 13:28:13 GMT 2007


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