Automatically run a command every time a file is changed
Posted
by ehsanul
on Server Fault
See other posts from Server Fault
or by ehsanul
Published on 2010-06-01T00:52:43Z
Indexed on
2010/06/01
1:03 UTC
Read the original article
Hit count: 225
unix
Each time I make some changes to a file and save, I'd like a command to run. I can set up a Ruby script that could monitor the file and run the command as I'd like, but it occurs to me that there should be some simple Unix way to do this. Is there?
© Server Fault or respective owner