• 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: Back and forth between Posix and HFS paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Back and forth between Posix and HFS paths


  • Subject: Re: Back and forth between Posix and HFS paths
  • From: "Mark J. Reed" <email@hidden>
  • Date: Fri, 26 Mar 2010 11:47:24 -0400

POSIX file "unix path goes here"  as string

There are no non-UNIX-friendly characters in that filename, by the
way.  The only character you can't have in a UNIX filename is a slash.
 Your filename isn't particularly typing-at-the-command-line-friendly
(since it's hard to type a ™ and you have to quote the thing), but
really, there's no problem in UNIX with such files.


On Fri, Mar 26, 2010 at 11:30 AM, Alex Zavatone <email@hidden> wrote:
> I've been trying to go back and forth between POSIX paths and HFS paths and getting the POSIX path of a file that exists is rather easy, but going back the other way, is nonintuitive.
>
> I've got this file on my HD:
>
> Hard Disk: Test ™.txt
>
> I'm looking to preserve the non UNIX friendly characters, so do any of you know how to go from the POSIX path back to the HFS path?
>
> TIA,
> - Alex _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>



--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Back and forth between Posix and HFS paths
      • From: Alex Zavatone <email@hidden>
References: 
 >Back and forth between Posix and HFS paths (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Back and forth between Posix and HFS paths
  • Next by Date: Re: Back and forth between Posix and HFS paths
  • Previous by thread: Back and forth between Posix and HFS paths
  • Next by thread: Re: Back and forth between Posix and HFS paths
  • Index(es):
    • Date
    • Thread