AppleScript名:2フォルダ間の内容比較 |
— Created 2015-12-22 by Takaaki Naganoya — 2015 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set aFol to (choose folder with prompt "Select Folder A") set bFol to (choose folder with prompt "Select Folder B") set aPath to POSIX path of aFol set bPath to POSIX path of bFol set aFM to current application’s NSFileManager’s defaultManager() set aRes to (aFM’s contentsEqualAtPath:aPath andPath:bPath) as boolean |
More from my site
(Visited 48 times, 1 visits today)