How can I log all the events performed on a particular directory?
I want to log the entry of each directory modified within some time duration. I am using
find . -type d -mmin -5 command.
In addition to this, I want to put more details, when any directory is moved to another place, I need to add the below log details, eg.,
directory "xyz" moved from "home/usr/xyz" => to "home/usr/documents/xyz"