Created
February 14, 2013 02:40
-
-
Save jletourneau/4950200 to your computer and use it in GitHub Desktop.
AppleScript to eject all ejectable volumes. Useful for quickly disconnecting a laptop from external drives etc. for traveling.
This file contains hidden or 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" | |
eject (every disk whose ejectable is true) | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment