I need to copy the same file, “boot.efi” into two specific folders to allow my old Mac Pro 1.1 to run Yosemite. I can copy one file into /System Folder/Library/Core Services using this script
set filesToMove to choose file -- finds the "boot.efi" file
set destinationFolder to choose folder-- can this be replaced with a path /System Folder/Library/Core Services ?
tell application "Finder"
duplicate file filesToMove to folder destinationFolder with replacing
end tell
The other folder is hidden and the file to replace is locked. How can I copy the selected file into /usr/standalone/i386, and overwrite or remove the file that is there.
Also since the destination folders are known how can I address them directly without having to use
set destinationFolder to choose folder
Model: Mac Pro 1.1
AppleScript: Version 2.7 (176)
Browser: Safari 600.2.5
Operating System: Mac OS X (10.2.x)