POSIX paths query
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.