mirror of
https://gitlab.com/niansa/inotifyrun.git
synced 2025-03-06 20:48:32 +01:00
324 B
324 B
inotifyrun
Run a command every time a file is opened
Setup
- Clone:
git clone https://gitlab.com/niansa/inotifyrun.git --recursive && cd inotifyrun
- Compile:
make
- Install:
sudo install
Usage
This should be self-explanatory:
inotifyrun ./test.sh "echo hi" ~/Documents/table.odt "killall libreoffice"