Last active
March 16, 2021 17:23
-
-
Save knowler/0909c8527ab08d7be659f56358a9c476 to your computer and use it in GitHub Desktop.
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
eject () { | |
if [ -z "$1" ]; then | |
echo "No drive specified." | |
else | |
dot_clean "/Volumes/$1" | |
diskutil unmount "$1" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment