Is there a way to automatically backup of files and folders triggered by a file or folder replace action.
I'm looking for somthing like git-hooks or a listener of some sort that can run a version-control-like process automatically when a file or folder has been replaced.
I'm looking specifically for a hook that can trigger a script the rest is fairly straigt forward to me in terms of scripting the comparison and backup process.
The scenario is this: the art department at an add agency is delivering files to the flash developers and they are having some verisoning conflicts.
The fash developers use version control but hte art departmen does not.
The goal is to impliment a version control like environment that checks in files and tracks changes automatically when files are uploaded to the share server from the gui.
This is all taking place on the MAC operating system.
looks like I found the answer:
the FSEvents API appears to fire events associated with the file system