How can I set launchd “WatchPaths” to run a script only on newly added files to a directory?
I looking for something like AppleScript Folder Action “added_items” .
AppleScript Folder Action is capable of doing what I need but must have a user logged in to run.