On Sat, 2 Dec 2017, B.M. wrote:
Dear all,
not a Debian specific question, but I hope to get an answer here...
I try to use inotifywait in a bash script to block until a file in a directory
gets changed. Then the script should continue. That's working well unless the
path I hand over to inotify
Dear all,
thank you for your inputs - indeed, I had to add "eval" to my script to get it
working.
Best,
Bernd
On Samstag, 2. Dezember 2017 17:10:10 CET you wrote:
> Dear all,
>
> not a Debian specific question, but I hope to get an answer here...
>
> I try to use inotifywait in a bash script
Hi,
B.M. wrote:
> MYCOMMAND = "inotifywait -qqr -e create \"$MYDIR\""
I assume you later execute this by
$MYCOMMAND
(and that you have no blanks around the '=').
> echo shows the command correctly
Not for me. I get already riddled in dialog:
$ Y="a b c"
$ X="echo \"$Y\""
$ $X
3 matches
Mail list logo