Automator example for http://superuser.com/questions/154726/how-to-execute-a-shell-script-with-selected-files-folders-in-finder