• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mac to unix path names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mac to unix path names


  • Subject: Re: mac to unix path names
  • From: Emmanuel <email@hidden>
  • Date: Fri, 2 May 2003 15:36:55 +0200

At 8:03 AM -0500 02/05/03, Carl Albrecht-Buehler wrote:
>So the long and the short of the question is, how can I change an MacOS file
>path name with colons to a Unix path name? My current strategy has been to
>deal with it just through string manipulation, but I'm hoping there is a
>more direct way since this has limitations and is rather convuluted. I'm
>using OS 10.2.4 with AppleScript 1.9 on an 800MHz iBook

What you need is probably:

---------------------
POSIX path of theFile
---------------------

or

---------------------
quoted form of POSIX path of theFile
---------------------

(Though this makes little sense, POSIX path is declared as a property of the POSIX file class in the StandardAdditions).

As far as I understand, though, not all shell scripts will accept those paths. It's still better if all your files and folders' names include only 7-bits ASCII and no space. :-)

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: mac to unix path names
      • From: Christopher Nebel <email@hidden>
References: 
 >mac to unix path names (From: Carl Albrecht-Buehler <email@hidden>)

  • Prev by Date: Re: mac to unix path names
  • Next by Date: Re: Bug in Eudora?
  • Previous by thread: Re: mac to unix path names
  • Next by thread: Re: mac to unix path names
  • Index(es):
    • Date
    • Thread