I want to monitor special path to any event of create or modified files recursively in it via inotifywait but I don't know what's my problem is. I have some folders that I want to exclude. watchpath ...
I'm using incron to watch for events in a directory but I want to exclude some subdirectory or some filename PATTERNS. Is there a way I can do this elegantly?