unix style paths
unix style paths
- Subject: unix style paths
- From: Kris Steinhoff <email@hidden>
- Date: Mon, 15 Jul 2002 11:52:09 -0500
Hi,
Does anyone know how to make references to files with their unix style
path. such as "/Users/Shared/whatever"
I am trying to copy some preference files to a users
~/Library/Preferences folder and I want it to work for any user that
logs in. To do that I'll use 'system attribute "home"' and then
concatenate "/Library/Preferences" to the result. The reason I am not
using a shell script it that the preference files I am trying to copy
seem to be dual-fork (does that even make sense?) and using cp or even
ditto breaks the file.
here's what I need to do (this is just pseudo code, the syntax is
probably wrong):
set dest to (system attribute "HOME") & "/Library/Preferences"
copy [or move] "/private/Prefs" to dest
and applescript doesn't seem to know what to do with the unix style path
reference, so does anyone know how to use a unix style path in
Applescript?
thanks
-kris
_______________________________________________
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.