0

If its possible I was hoping someone could tell me how to make a bash script execute on once for every file save in a directory (preferably in any subsequent directories as well, but I'll take what I can get). I did some googling, didn't find anything, and and am pretty new to bash scripting so I turned to SO.

I would also take a polling system that checks if files have changed every so often but I'm not sure how that would work either.

Oh also I'm on a Mac if that matters.

Thanks!

Christian Fritz
  • 18,961
  • 3
  • 42
  • 63
Bren
  • 3,210
  • 10
  • 35
  • 70

0 Answers0