Table of Contents
Installation
Manual installation
In short a manual way:
- Copy the bash script somewhere you like.
- set execute permissions
chmod 0755 onfilechange.sh
Use git
If you have git and want to update the files with a simple git pull you can do it that way.
Get the files
cd /opt
git clone https://gitlab.iml.unibe.ch/iml-open-source/onfilechange.git
Make script available anywhere
To have a single file in /usr/local/bin you can create a softlink
cd /usr/local/bin
ln -s /opt/onfilechange/onfilechange
Update
To start an update you can use
cd /opt/onfilechange/
git pull