[Csync2] include and exclude statements

Michael Mansour mic at npgx.com.au
Thu Dec 29 09:17:52 CET 2005


Hi,

I've just finished setting up csync2, and using a "csync2 -x -d" it seems to
have picked up the correct files "?M" tat are modified and need syncing.

My question comes now as to how I can specify include and exclude statements.
I understand the simple stuff like:

        include /etc/httpd/conf.d;
        exclude /etc/httpd/conf.d/www.domain.com;

but I have the following selection I need to make:

/etc/anydirectory/*/*.acl

ie. I want to sync anything under "/etc/anydirectory/" with the extension .acl

How can I do this with csync2?

Could I just use the format:

        include /etc/anydirectory/*/*.acl;

?

Thanks.

Michael.



More information about the Csync2 mailing list