Eject Disk is a workflow for Alfred app that allows to eject disk from macOS. Unlike the build-in "eject" command it really ejects a disk, instead just unmounting it.
Works with Alfred v3.5 with Power Pack.
- Download
Eject Disk.alfredworkflow
from releases - Open the file in Alfred to import workflow
- Type
eject
in Alfred to see list of ejectable disks - You can filter results by adding name of the disk after the command
- If you don't want to use build-in eject (that unmounts the disk) you can disable it in Alfred Preferences (Features/System/Eject)
This workflow talks to Finder
app using Apple Script. There are two scripts:
- list_ejectable_disks - script that returns list of ejectable disks
- eject_disk - script that ejects a disk
Copyright © 2017 Dariusz Rybicki Darrarski
MIT License. You are allowed to use the source code commercially, but licence and copyright notice MUST be distributed along with it.