Created
August 28, 2012 10:49
-
-
Save samrayner/3497148 to your computer and use it in GitHub Desktop.
Install .app files from ~/Downloads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" | |
set dlApps to every file in (path to downloads folder) whose name extension is "app" | |
repeat with newApp in dlApps | |
move newApp to (path to applications folder) with replacing | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment