How to execute a Folder Action or another Automator script when I make changes to a folder?
And by changes I mean not just deleting or inserting new file, the most important for me is when the content of a file is changed the action will be triggered.
How to execute a Folder Action or another Automator script when I make changes to a folder
automatorfolder-action
Best Answer
Using launchd, you could save a property list like this in ~/Library/LaunchAgents/ and load it with something like
launchctl load ~/Library/LaunchAgents/automator_test.plist
or by logging out and back in.Launchd only detects changes to files when they are saved atomically (or deleted and recreated every time they are saved). Most OS X apps perform atomic saves, but for example TextMate and vim don't.