Skip to content

Simple example program using inotify to watch file metadata and modify changes

Notifications You must be signed in to change notification settings

Kazhuu/inotify-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux inotify example

Simple example program to test Linux inotify api. Watches provided sample file for metadata and modify changes.

Usage

Build using CMake

mkdir build
cd build
cmake -G "Unix Makefiles" ..
make

After build run with

./inotify

While running try to touch sample file or modify it and save. You should see program print events to the terminal.

License

MIT license

About

Simple example program using inotify to watch file metadata and modify changes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published