Function: Turns files and folders into a list of UNIX (POSIX) paths, which can be used with shell scripts.
Author: Emanuele “l0ne” Vulcano
Input: File and folder references.
Result: An AppleScript list of paths which can be used with the Execute Shell Script action, or with other actions that accept a set of UNIX paths or text.
Notes: This Action, based on this post, returns the path(s) of the input file/folders and optionally sanitizes them by surrounding them in quotes. The action will show up in the System category, and an Italian localization is included. It works best as a Contextual Menu Plug-in: Copy into ~/Library/Workflows/Applications/Finder/ [For users who have downloaded the Get Path workflow, this action runs much faster - Steve]
This AppleScript Does the same thing:
on run {input, parameters} return POSIX path of input end run
Comment by Kristen — March 25, 2008 @ 8:51 pm
I’m impressed with your site, very nice graphics!
Comment by Peter Harral — August 3, 2006 @ 4:30 am
Thank you!!!! What a lifesaver this action is! I’ve been manually working through this for way too long!
Comment by Jonathan Greene — June 21, 2006 @ 11:17 am
Did this stop working? Mine used to work, but now it just spins and spins while automator moves on to the next action.
Comment by Brad — June 14, 2006 @ 9:07 pm
This is fantastic, especially since the contextual menu I’ve been using for a while doesn’t work on MacIntel. Thanks for this.
Comment by Wes — March 8, 2006 @ 1:37 pm