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]