From 3203642618ae0cb80ec3c4ee32dd3ffc30a27a06 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sat, 27 Apr 2019 23:03:51 +0200 Subject: [PATCH] README: added --exit-with-child example --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 46cc0b0..c5d8251 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,10 @@ find . -type d | adhocify -s /home/user/myscript.sh limits, thus it may not always work, e. g. when inotify descriptors are being used by other programs or the tree is too large. Therefore adhocify will exit if it cannot setup a watch for all supplied directories. See inotify(7), /proc/sys/fs/inotify/. +adhocify -m IN_CREATE --exit-with-child=0 -- /usr/bin/test -f awaited_file + + * Keep running until the file named "awaited_file" is created in the current directory. + Other tools =========== If adhocify does not suit your needs, take a look at: