I am trying to create a service in automator that helps me make a file/folder hidden or unhidden.
I am a very new beginner and do not know anything about automator and I have only tried putting different services together but I don't even know how they work.
I have tried the following and it is not working:
Get Selected Finder Items
Run Shell Script:
STATUS = chflags
for f in "$@"
if [$STATUS = unhidden]
then
chflags hidden
else
chflags unhidden
fi
killall Finder