https://popsci.pages.dev/posts/how-to-use-macos-folder-actions-feature/
How To Use Macos Folder Actions Feature