Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- folder=~/random/test
- inotifywait -m -q -e delete -e create -e move -e modify -r --format '%:e %w%f' $folder | while read file
- do
- notify-send "Modification" "$file is modified"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement