I setup a filewatcher so that when I modify a file, it should clear the var/ directory of my projects, here is the setup that should use bash: http://screencast.com/t/wWDQyJ2EmN however when it triggers it, it gives this output:
/bin/bash rm -Rf /var/www/html/rental/var/*
/bin/rm: /bin/rm: cannot execute binary file
Process finished with exit code 126
How can I make a filewatcher that does what I want, I don't mind if it doesn't use shell to do this, but you get the idea of what I want to do.