LINBIT / csync2

file synchronization tool using librsync and current state databases
GNU General Public License v2.0
145 stars 39 forks source link

Subtree-specific exclude #29

Open sjvudp opened 3 years ago

sjvudp commented 3 years ago

The exclude pattern is global or directory-specific (it seems to me); however a subtree-specific exclude pattern seems quite useful.

One example is firewalld creating ".old" files I do not want to sync (while in other directories I might want them). So I would have to list each directory (even those not existing yet) where I do not want to sync ".old" files.