Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "Terminal"
- do script "echo "diskutil list"" in window 1
- if exists disk2 then
- do script "echo "diskutil info disk2"" in window 1
- do script "echo "diskutil eject disk2"" in window 1
- do script "echo "diskutil list"" in window 1
- end if
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement