automator pass files to terminal for permissions change
I'm looking to setup an Automator actions to run on a folder change, to set all files only with all subfolders to read only... but leave the folders as read/write so additional files and folders can still be added...
so far i have:
Get Specified Finder Items > selected the folder I wanted to change file permissions in
Get Folder Contents
Filter Finder Items > Find files where None are Kind = Folder
Set Value of Variable > Files
Run shell script > Shell: /bin/bash , Pass Input: to stdin
chmod 444 "$1"
but no success...
any suggestions...
MacBook Pro with Retina display, OS X Mavericks (10.9.2)