Convert shell script to Hazel

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Convert shell script to Hazel Sun Jan 21, 2024 11:19 am • by jannone
Hi - I'm wondering how to modify this Automator shell script to work in Hazel:

Code: Select all
while read f ; do
chflags hidden "$f"
done


I'm assuming that I need to replace f with $1, but not sure what to do with the "$f"

Thanks!
jannone
 
Posts: 1
Joined: Sun Jan 21, 2024 11:09 am

Re: Convert shell script to Hazel Mon Jan 22, 2024 9:56 am • by Mr_Noodle
I'm not sure what this script is supposed to do. It is reading input. Are you entering filepaths manually to the script? Is there a file you are redirecting to the script?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support