• 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
POSIX paths query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

POSIX paths query


  • Subject: POSIX paths query
  • From: Steve Thompson <email@hidden>
  • Date: Wed, 8 Oct 2003 16:23:57 +0100

I have this script:

set temp to "Server:Master Database:to be Databased:AUGUST IMAGE
UPLOADS - No17:layouts:161999-Image.eps"
set test to quoted form of POSIX path of (temp)
tell application "Finder"
exists file temp
exists file test
end tell

And the output is

tell application "Finder"
exists file "Server:Master Database:to be Databased:AUGUST IMAGE
UPLOADS - No17:layouts:161999-Image.eps"
--> true
exists file "'/Volumes/Server/Master Database/to be Databased/AUGUST
IMAGE UPLOADS - No17/layouts/161999-Image.eps'"
--> false
end tell

So it exists in HFS format but not in POSIX format. Can anyone explain
to me why that is and how to stop it? I need to check if the file
exists on this server (mounted as an NFS volume) before I ditto a file
on to it, purely to save time (don't want to copy a file if it's
already there as it's over an slow DSL line).

Thanks,

Steve
_______________________________________________
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: POSIX paths query
      • From: Paul Berkowitz <email@hidden>
    • Re: POSIX paths query
      • From: Patrick Mast <email@hidden>
    • POSIX paths query explained better
      • From: Steve Thompson <email@hidden>
  • Prev by Date: Re: "mount volume" password question
  • Next by Date: Re: "mount volume" password question
  • Previous by thread: Re: iCal 1.5.1 scripting
  • Next by thread: POSIX paths query explained better
  • Index(es):
    • Date
    • Thread