【发布时间】:2017-11-09 10:01:13
【问题描述】:
我有一个包含文件/resources/video.mov 的文件夹。这个包含视频的文件夹可以位于任何地方,例如/Users/UserName/Desktop/resources/video.mov 或/Applications/resources/video.mov 等。我需要找到这个包含视频的文件夹并复制到特定的地方。我找不到要复制视频的文件夹路径。
tell application "Finder"
duplicate items in folder "_locatedPath_" to folder "_destiontionPath_" with replacing
end tell
【问题讨论】:
-
如果您不知道位置,shell 命令
find或mdfind是您的朋友。 Vanilla AppleScript 太慢了。
标签: macos applescript