Is there an easy, reliable method to turn a Unix-style path into a Mac HFS-style path? For example, turning
/Users/gruber/Documents/foo
into
Boot:Users:gruber:Documents:foo
where "Boot" is the name of my startup disk.
(Why? Because I want to write a script that executes an AppleScript
using Mac OS X's osascript tool. I need to convert the file
arguments into HFS-style paths, because osascript doesn't take
command line arguments and AppleScript doesn't understand Unix-style
paths.)
--
Gruber
