I have a web app that takes a .zip file of a directory. I would like to automate the process so that anytime I create or modify a file in a directory, that file gets modified or added to the archive of it (the archive could be deleted and re-created too).
I've played around with the archive feature in Hazel, but it just zips the current file and then deletes the original. That is not the workflow I need. Is there another way to do this?