Hi people
Please forgive me asking for someone else, but 'someone else' reckons
they won't understand the answer, so ...
My friend has just bought a MacBook Pro and tried to used the
'im****ting old files' utility to get the files from her old G4 PPC -
via Firewire, I think.
The files are there in the laptop, but she has to log out and change
user to access them. Not handy!
Is there an applescript that will change all the owner****ps so she can
open them in the normal way?
I found this applescript:
to chOwn(aliasToFolder)
set mypath to quoted form of POSIX path of aliasToFolder
set uName to do shell script "whoami"
do shell script "chown -R" & uName & space & mypath & ";chmod 775 "
& mypath with administrator privileges
end chOwn
which was quoted on:
http://lists.apple.com/archives/applescript-users/2006/Aug/msg00255.html
Will this do the trick? and if so ...
1) Am I right she should edit this and replace "uName" with her login
username (it's a single user Mac so she is also Admin)
2) Does she also have to replace "path" with something more specific,
and if so, then what? [Sorry I'm vague on that path thing!]
3) Does this script (if appropriate) do the job by running, or should
she drag-drop the folder with the files onto the script-app icon?
Apologies if this isn't clear. I did my best!
Most grateful for any advice
TIA
Pedro


|