2

Possible Duplicate:
Can a bash script be hooked to a file?

Hi there,

I am trying to execute a command every time a file changes. Is this possible? I think there is some way to watch for a file, but I have no idea.

Thank you!

Donovan
  • 293
  • There are actually a lot of ways to handle this depending on the kind of file, the kind of change, how often it needs to be checked, if there are any requirements for monitoring previous actions, etc. Could you please describe your problem more fully? – Caleb Apr 02 '11 at 13:31
  • Are you using Linux? If so, the post that @Gilles linked to should do exactly what you need. – Tim Post Apr 02 '11 at 14:02

0 Answers0