Automatorを使用してリモートからローカルへのバックアップを実行するつもりでしたが、ループを実行する必要があるため、Applescriptの方が適していると思いました。Applescriptの完全な初心者として、特定の特性を持つ特定のフォルダからすべてのファイルをダウンロードしようとすると、エラーが発生しました。
set today to current date
set yesterday to (today - 1)
tell application "Fetch"
activate
open remote folder "/public_html/books/book_3/_thumbs/Images"
copy every file of folder to beginning of alias "MacintoshHD:Users:franciscaparedes:Desktop:untitled folder:"
whose modification date is greater than yesterday
end tell
これが私のエラーです:
Fetch got an error: Can’t set beginning of alias \"Macintosh HD:Users:franciscaparedes:Desktop:untitled folder:\" whose «class pMod» > date \"Monday, December 24, 2012 6:37:17 AM\" to every file of folder." number -10006 from insertion point 1 of alias "Macintosh HD:Users:franciscaparedes:Desktop:untitled folder:" whose modification date > date "Monday, December 24, 2012 6:37:17 AM"
どんな考えでもいただければ幸いです。
-エリック