fix: correct event name mkdir -> create
This commit is contained in:
parent
c9c334c244
commit
79e3e0fe3f
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
WATCH_DIR="/mnt/private/workspaces-data/public"
|
||||
|
||||
inotifywait -m -r -e mkdir --format '%w%f' "$WATCH_DIR" | while read -r newdir; do
|
||||
inotifywait -m -r -e create --format '%w%f' "$WATCH_DIR" | while read -r newdir; do
|
||||
chmod g+s "$newdir"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user