2
1
How do I monitor from this moment on what files get accessed / modified / created / deleted. (in live mode), similar to fseventer / fslogger?
2
1
How do I monitor from this moment on what files get accessed / modified / created / deleted. (in live mode), similar to fseventer / fslogger?
6
On unix system you can use inotify-tools, built on top of inotify kernel subsystem API.
By inotifywait you can have live mode monitoring on standard output:
inotifywait -m -r -e access -e modify -e create -e delete --format 'PATH:%w%f EVENTS:%,e' {{path_to_monitor}}
Notes:
Example (command performed on monitored directory followed by realtime inotifywait output):
$ cd {{path_to_monitor}}
$ touch test
PATH:./test EVENTS:CREATE
$ rm test
PATH:./test EVENTS:DELETE
Now I changed the title, as I'm interested about the process, not to shop anything. – user1861388 – 2016-05-07T19:05:11.763