darkrc/bin/on_file_write

6 lines
91 B
Text
Raw Normal View History

#!/bin/sh
while inotifywait --recursive --event CLOSE_WRITE . > /dev/null 2>&1
do $@
done