Skip to content

hellboy-zero/files_watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Files Watcher

This is C program which allow user to monitor the files and Directories of the linux file system using the system calls like IN_ACCESS , IN_CREATE and other from "inotify" , this allow use to keep logs of what happen in the file system

Pointers to note

  • The C program uses inotify.h to access system calls
  • The program also print which file or Directory was created and at what time along with other system calls
  • The program is writen for linux only
  • It do not save any data/logs in a file , it just print them on termainal
  • It only capture system calls only of the Directory it is running and its sub Directories
  • Compile it using GCC for linux

Reference

  • man pages of read , open , inotify and other
  • can also use website: https://man7.org/ for reference
  • for system calls check inotify.h file ( shortcut: CTRL + LEFT CLICK in vscode , on #include <sys/inotify.h>)

About

a c program that uses the system calls to detect which file is created and whihc is deleted

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages