forked from ahurac/dotfiles
8 lines
171 B
Text
8 lines
171 B
Text
|
#!/usr/bin/env sh
|
||
|
todo=$(cat)
|
||
|
|
||
|
inotifywait --recursive --monitor -e create -e attrib -e modify -e move -e delete -- "$@" | \
|
||
|
while read -r _unused; do
|
||
|
eval "$todo"
|
||
|
done
|