我尝试使用此脚本将我的某个Xcode项目的release文件夹复制到桌面:
tell application "Finder"
set targetFolder to folder "release" of folder "build" of folder "8_15pm" of folder "26th_March" of folder "XYZ" of startup disk
set destinationFolder to folder "Desktop" of folder "miraaj" of folder "Users" of startup disk
copy targetFolder to destinationFolder
end tell
我原本以为我会在桌面上获得一个名为release的文件夹,但我没有得到任何文件夹:(
任何人都可以建议我在哪里做错了或者更好的方法吗?
谢谢,
Miraaj
答案 0 :(得分:3)
将副本更改为重复