I am using fswatch
and only want it triggered if a file with extension .xxx
is modified/created etc. The documentation and the second reference below indicate that:
- All paths are accepted by default, unless an exclusion filter says otherwise.
- Inclusion filters may override any exclusion filter.
- The order in the definition of filters in the command line has no effect.
Question: What is the regular expression to use to exclude all files that do not match the .xxx
extension?
References:
Platform:
- MacOS 10.9.5.