How to attach an action to a Mac folder for automatic workflows

Folder Actions are one of many hidden gems in macOS. You can set an action to occur whenever the contents of a folder are changed. This can be a simple action drawn from a list that Apple provides with macOS, an AppleScript, or a workflow produced in Automator.

Read more