From 241862464a8ab03178aee3a270b362bc889a2599 Mon Sep 17 00:00:00 2001 From: j-james Date: Wed, 30 Nov 2022 13:56:44 -0800 Subject: Create watch script --- 2022/watch | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 2022/watch (limited to '2022/watch') diff --git a/2022/watch b/2022/watch new file mode 100755 index 0000000..3792b58 --- /dev/null +++ b/2022/watch @@ -0,0 +1,7 @@ +#!/bin/bash + +source "vars" + +while inotifywait --quiet --event modify "~/watched_file" +do ./run +done -- cgit v1.2.3-70-g09d2