Hi there,
I’m trying to use Hazel to run a shortcut when there is a new subfolder created in a top level folder. The shortcut should take the name and filepath of the folder and create a new file and append some text to it.
Unfortunately, when I try to run the shortcut via hazel I get the notification “error executing shortcut via commandline.” Anyone know what’s going on here? This isn’t the first time I’ve gotten this error. I’ve tested the shortcut independently of hazel and it works fine. I’ll post the shortcut here:
https://www.icloud.com/shortcuts/ea7966ca635345a6a28fd122fa6117df
Thank you for any help. This is so frustrating!