Skip to content
Advertisement

Linux folder change auto notification

Is there a way that I can programmatically figure out whether a particular file with certain characteristics is being added into say the linux /tmp folder. All I need to create, is a small script that is automatically called every time a new file is added in the tmp folder.

Advertisement

Answer

These links might be helpful: Inotify and Inotify-tools.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement