Skip to content

Instantly share code, notes, and snippets.

@cotyembry
Last active December 22, 2016 01:18
Show Gist options
  • Save cotyembry/4778182228444e2ed272ac3ce152a1f3 to your computer and use it in GitHub Desktop.
Save cotyembry/4778182228444e2ed272ac3ce152a1f3 to your computer and use it in GitHub Desktop.

So I needed to unmount a volume (i.e. usb) from my macbook and the command to use is

hdiutil unmount -force /Volumes/{nameOfVolumeHere}

(without the {} characters)

To list the available volumes you can do

ls /Volumes/

...I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment