It is simply a call to the utility convmv (installed through homebrew) that converts a filename from one charset to another and looks like this.
- Code: Select all
convmv -i --notest -f utf8 -t iso-8859-1 "$1"
When putting this into a "Run shell script/embedded script" command and running the rule, in Activity MonItor I can see a "per5.16" process using 99.9 % CPU and the rule does not complete.
Adding and exporting variables for LANG and LC_CTYPE as per my related post (https://www.noodlesoft.com/forums/viewtopic.php?f=4&t=6682&p=19042&hilit=shell+script+fails#p19042) does not change anything.
What is necessary to make this work in Hazel?
Thanks!