Created
July 29, 2013 05:25
-
-
Save arkjun/6102267 to your computer and use it in GitHub Desktop.
ejectHDD
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
# change directory to My external Hard disk | |
# remove it's dummy files e.g) ._ hidden files. | |
# and, eject it. | |
# modify Leto_1TB to your configuration. | |
# modify disk1s1 to your configuration. | |
cd /Volumes/Leto_1TB | |
find ./ -name "._*" -exec rm {} \; | |
hdiutil eject /dev/disk1s1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment