The Idea is to change or extend the --exclude-caches feature so that one can configure which filename to look for that will make obnam skip the directory


Changing --exclude-caches seems wrong to me: it has a specific purpose (to implement the cache directory tagging spec, http://www.bford.info/cachedir/spec.html).

Adding a new option to ignore directories that contain a specific file (or directory) would be fine.

--liw


bwh points out that the owner of the directory and the tag file should be the same.