macOS tools moving to my git
This commit is contained in:
6
unmountvol-all
Executable file
6
unmountvol-all
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
export PATH=$PATH:/usr/bin/local
|
||||
echo "Looking for $1"
|
||||
_MYDISK=`diskutil list | grep "$1" | awk '{print $6}'`
|
||||
echo "Unmounting $_MYDISK"
|
||||
diskutil unmount force /dev/$_MYDISK
|
||||
Reference in New Issue
Block a user