Skip to content

Brief script to keep track of created files in specified directory.

License

Notifications You must be signed in to change notification settings

ldvc/watch-files

Repository files navigation

watch-files

Brief script to keep track of created files in specified directory.

Installation

Before starting, make sure that package inotify-tools is installed.

  1. First, clone the project in your favorite folder (assuming git is already installed) :

cd /home/jdoe/ && git clone https://github.com/ldvc/watch-files

  1. Create symlinks (or copy files) in order to have correct environment :

sudo ln -s /home/jdoe/watch-files/watch-files.conf /etc

sudo ln -s /home/jdoe/watch-files/*.sh /usr/local/bin

sudo ln -s /home/jdoe/watch-files/*.cron /etc/cron.d

sudo ln -s /home/jdoe/watch-files/watch-files.init /etc/init.d

Customization

Please modify DIR_TO_WATCH and EMAIL in the watch-files.conf file in order to suit your needs.

About

Brief script to keep track of created files in specified directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages