in reply to Re: onchange - a script to run a command when a file changes
in thread onchange - a script to run a command when a file changes

I considered adding an option to supply the file that changed, but I decided it wasn't that useful to me. Obviously it would be an easy change.

As far as using cron, it takes too much work to setup and take down a cronjob. I wanted something I could setup very quickly and kill as soon as I was done with a simple Ctrl-C.

-sam

  • Comment on Re: Re: onchange - a script to run a command when a file changes