diff options
Diffstat (limited to 'programs/scripts')
-rwxr-xr-x | programs/scripts/watchfile.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/programs/scripts/watchfile.sh b/programs/scripts/watchfile.sh new file mode 100755 index 0000000..064a226 --- /dev/null +++ b/programs/scripts/watchfile.sh @@ -0,0 +1,2 @@ +#!/bin/sh +while inotifywait -e close_write $1; do $2; done |