Last active
October 21, 2017 07:25
-
-
Save yeliu84/b662d31aafefdd837822045674620ae1 to your computer and use it in GitHub Desktop.
Eject all disks
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
# http://osxdaily.com/2014/05/22/eject-all-mounted-volumes-command-line-mac/ | |
osascript -e 'tell application "Finder" to eject (every disk whose ejectable is true)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment