Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 795 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 795 Bytes

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.