"Adding" Folder Action Doesn't Respond to File Overwrite

I’m having a problem due to the “on adding folder items” folder action not recognizing updated files.

When the folder to which the action is attached receives a file of the same name, overwriting the existing one, the action fails to run despite the fact that new file has a different size and mod date.

I’m unable to find a way to execute a script based on updates to a folder’s contents, when no name changes are involved.

Am I missing something?

Thanks,
Bryan

Folder actions are not dependable.

Better options to watch the folder for changes:

  1. Stay open script
  2. launchd

If you want to use launchd do a search in ScriptBuilders on this site for a good example by StefanK.

Thanks. II came to much the same conclusion after posting; my launchd adaptation is coming along nicely.