Skip to content

Instantly share code, notes, and snippets.

@samrayner
Created August 28, 2012 10:49
Show Gist options
  • Save samrayner/3497148 to your computer and use it in GitHub Desktop.
Save samrayner/3497148 to your computer and use it in GitHub Desktop.
Install .app files from ~/Downloads
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