Dave, To exclude all files with a given name, regardless of their directory path, just enter the name without a preceding slash. For example: "example" rather than "/example" Here is an example *exclude_list* ----------------------------------------------- # this is a comment line /tmp/example/dir/all /tmp/example/dir2only/ /usr/home/*/all_tmp /*/all_temp core -------------------------------------------------- Anurag
> Date: Sun, 28 Aug 2011 19:31:28 -0500 > From: da...@graniteweb.com > To: veritas-bu@mailman.eng.auburn.edu > Subject: [Veritas-bu] exclude_list - exclude core file but not core directory > > Hello, > > I'm dealing with exclude_list for the umteenth time, and stumbled into a > classic problem. > > The examples in the docs have always shown excluding "core", which > excludes all core files AND core directories. Because of how you define > things, it is possible to exclude just directories by appending / (e.g., > core/), but there is no corresponding way that I can find to exclude > ONLY files named core. > > I can more or less accomplish what I need to by using an include_list > that contains "core/", but this will obviously add processing overhead > because it's going to build the initial list, drop excluded stuff, then > go back through all the excluded directories and look for all > directories named "core". I especially don't want the include list to > go back and re-add any core directories under other directories that I > have also excluded. > > For example: > exclude_list: > core > /dev > /sys > /mnt/auto > /var/mqm/ > /u[0-9]*/ > > If I have an include_list that looks like this: > core/ > > It will pick up any directories named core under: > /dev > /sys > /mnt/auto > /var/mqm/ > /u[0-9]*/ > > Which I do NOT want it to do. > > > Does anyone know if it's possible to define JUST files named core in the > exclude_list, so that an include_list is not necessary? If an > include_list is the only way to do it, is it possible to avoid the > re-adding under the directories I _do_ want to exclude? > > Thanks. > > -- > David Rock > dave...@graniteweb.com > _______________________________________________ > Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu