Prepare Batmobile Alfred Posted May 31, 2013 Share Posted May 31, 2013 Is there any way to create a workflow with hotkeys to eject external drives? Link to comment
AlfredFreak Posted June 2, 2013 Share Posted June 2, 2013 The way I do it with a hot key, create a workflow with your desired hot key and then this applescript: do shell script "diskutil unmount /dev/YOUR-DISK'S-BSD-NAME" To find the disk's BSD name, mount the disk, then: About This Mac-> More Info...-> System Report -> then look under Firewire or USB and you will find it. There's probably another/better way, but this works for me. Link to comment
AlfredFreak Posted June 2, 2013 Share Posted June 2, 2013 If you need to eject multiple drives, then just repeat the line in the script (one for each volume): do shell script "diskutil unmount /dev/YOUR-DISK'S-BSD-NAME1" do shell script "diskutil unmount /dev/YOUR-DISK'S-BSD-NAME2" do shell script "diskutil unmount /dev/YOUR-DISK'S-BSD-NAME3" Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now