I have set up the following Hazel rule, and it works properly on the folder it is assigned to:

Now, I have also added the 'Go Into subfolders' rule to the top of the rules list, but the rule does not work properly on the .plist documents in the subfolders. I get an error message:
- Code: Select all
Error] Shell script failed: Error processing shell script on file /Users/.../Sub folder/xxxx.txt.plist.
If I create any simple rules such as setting the document color, etc., the rule runs fine on the subfolder contents. I suspect that this is a path issue, but I have almost zero knowledge of writing shell scripts so I am at a loss on what to try. Any suggestions?