void
06-24-2003, 09:48 AM
Hi all,
I need to convert a UNIX-path to a Mac OS X path.
For example:
/Applications/Chess.app
matches
Macintosh HD:Applications:Chess.app
and, if i'd added a Volume called 'project' to the system:
/Volumes/project/file.txt
matches
PROJECT:file.txt
How can I translate a UNIX-path to a Mac OS 9 style path?
This is possible using Applescript
(see http://macscripter.net/faq/general_osx.php), but I'd like
to do it on the commandline, or in Java.
I've searched google for about a day now, but it looks like
I'm the first to ask this question...
Thanks for your help,
Arjan
I need to convert a UNIX-path to a Mac OS X path.
For example:
/Applications/Chess.app
matches
Macintosh HD:Applications:Chess.app
and, if i'd added a Volume called 'project' to the system:
/Volumes/project/file.txt
matches
PROJECT:file.txt
How can I translate a UNIX-path to a Mac OS 9 style path?
This is possible using Applescript
(see http://macscripter.net/faq/general_osx.php), but I'd like
to do it on the commandline, or in Java.
I've searched google for about a day now, but it looks like
I'm the first to ask this question...
Thanks for your help,
Arjan