I am sure this is a simple question but i just cannot figure it out. List all files that (in any way) trigger an event defined in inotifywait.
My command is:
inotifywait -m -c -r $PWD > /tmp/file.csv
Problem: When monitoring $PWD and starting a process that accesses this directory I get redundant information that files are accessed. It would be sufficient to know that a file was accessed once (no for each occurrence).