I’m trying to set up my FileSet to allow people to
store Personal files on my fileserver without backing them up. To do that,
we’ve all agreed that anything in ~/Personal should be ignored.
I’ve put this into the FileSet
Include {
Options {
Exclude = yes;
WildDir = "/export/home/*/Personal"
}
File = "/export/home/user";
}
and now I’m running estimate to test this out.
>>From the looking at the Windows sample config (the server and client I’m
using are Linux), I see a few rules with “foo/*/*/bar” which seems
to indicate the * stops at /. However, what I find is that
/export/home/user/Personal and /export/home/user/otherdir/Personal both get ignored
which indicates that * doesn’t stop at /. I’ve combed the
manual but I don’t see any reason why this shouldn’t
work. Anyways, I do see that if I have the WildDir in the options
both directories called Personal located anywhere in the /export/home/ tree get
removed. If I remove it they survive. This is with a
2.4.2 client and server. If this is the expected behavior maybe it should
be changed and replaced with something like rsync’s ** versus * to
indicate whether you are interested in stopping at /.