Problem : Systemd offers unit files whom control monitoring of a certain path trough inotify: systemd.path(5). If a file or […]
Tag: inotify
Detecting which command/script deleting your files using inotifywait
Problem : One of our application servers periodically deletes file inside : /home/test/data The problem is we still dont know […]
How to set sysctl fs.notify.max_user_watches in GUIX? (guix system: error: service ‘sysctl’ provided more than once)
Problem : IDE’s like PyCharm work better when fs.inotify.max_user_watches is set to a high level. How to do that in […]
Detecting which command/script deleting your files using inotifywait
Problem : One of our application servers periodically deletes file inside : /home/test/data The problem is we still dont know […]
inotifywait name space issue
Problem : I follow the “/ home” directory and its subdirectories with the bash script below. but when the directory […]
Why is inotifywait -m running multiple times? (infinite loop)
Problem : I have a git post-receive script that looks like this: #!/bin/bash export GIT_WORK_TREE=/home/git/worktree mkdir -p $GIT_WORK_TREE while read […]
In Linux, how do I run a program when a non-existing file inside a certain directory is attempted read?
Problem : I have a partition on a hard drive that is encrypted with dm-crypt using a passphrase. What I […]
inotitfywait list accessed files (once) no duplicates
Problem : I am sure this is a simple question but i just cannot figure it out. List all files […]