The following code gives me an error when I run it, I can't see where I have went wrong.
I have looked up man as well.
while [inotifywait -m -r -e modify -e move -e create -e delete '/home/client/Files' ]; do
echo "File Notification" | mail -s "Client File Notification" -t "[email protected]"
done