- Code: Select all
touch -afm
The only check this rule makes is whether or not the file is an image. After the check and the command, it should move the file to a new folder, but it never gets that far as the aforementioned command fails every time.
Moderator: Mr_Noodle
touch -afm
touch -afm "$1"
hazelworker[43613] Shellscript exited with non-successful status code: 1
2015-03-17 17:15:23.021 hazelworker[89227] cloud.png: Rule Change Modification Date and Move to Optimize matched.
2015-03-17 17:15:23.021 hazelworker[89227] DEBUG: Manual run. Forcing actions to be executed.
2015-03-17 17:15:23.023 hazelworker[89227] Exception caught while executing shell script: Couldn't posix_spawn: error 13
2015-03-17 17:15:23.024 hazelworker[89227] [Error] Shell script failed: Error processing shell script on file /Users/ ... ImageOptim Staging/cloud.png.
2015-03-17 17:15:23.024 hazelworker[89227] Shellscript exited with non-successful status code: -900
2015-03-17 17:15:23.024 hazelworker[89227] DEBUG: Tapping error retry sequence