2 ms·
That is Gold! Implementing the functionality in shell itself was what I considered first however I needed two things 1. Make it work on OSX 2. Use a lock file
by prashanthellina 11y ago
That is Gold! Implementing the functionality in shell itself was what I considered first however I needed two things
1. Make it work on OSX
2. Use a lock file to prevent multiple instances from running when I put this in crontab
I found watchman[0]. Got to see if I can use that in place of "inotifywait".
[0]: https://facebook.github.io/watchman/docs/install.html https://facebook.github.io/watchman/docs/install.html
- jamiesonbecker 11y agoYeah that should work!