smoovmaster Posted April 3, 2013 Share Posted April 3, 2013 My first workflow! I saw a similar one that ejected all disks but wanted more fine grained control over which disks to eject. When you type the keyword 'eject' it shows a list of the ejectable drives. Simply press enter or click on one to eject the drive. A notification should pop up in the notification center if the drive has been ejected. Some stats about the drives are shown such as protocol, partition type, and size. Icons are also changed per protocol. Workflow uses a python. Let me know if you have any suggestions or find any bugs. Download Link to comment
sloppyjimbob Posted April 3, 2013 Share Posted April 3, 2013 Awesome job and super useful!Thanks for the workflow Link to comment
Domenic Posted April 6, 2013 Share Posted April 6, 2013 Thanks. Could you add "free space" to the stats? Would be useful. Domenic Link to comment
petebocken Posted April 6, 2013 Share Posted April 6, 2013 How is this workflow different than the built-in eject function? John 1 Link to comment
samvlu Posted April 29, 2013 Share Posted April 29, 2013 Thanks. This lets you eject dmgs (install files) Saving the time to find the volume to drag to trash can. Good work! Link to comment
RodgerWW Posted July 20, 2013 Share Posted July 20, 2013 I rather like this workflow. One suggestion is to add 'Mount' and 'Unmount' to the mix merhaps with a modifier of CMD or OPT Thing is, I have a 2.5" drive in a USB 2 Enclosure under my desk. I never disconnect it and it's always powered. So, using this or the built in Alfred 'eject' will not just unmount(eject) a single partition on my Drive (which has 3 partitions), it always ejects the entire drive. Also, with my other two partitions, I sometimes like to unmount one so it is not showing in Finder, but after a week or so, I may want to mount it for whatever purpose. SO, modifying your workflow to show mountable volumes would also be very handy. I currently have a workflow to simply mount a volume once I type in the name of it, but showing a list in Alfred, hitting CMD and selecting the unmounted volume would be ideal. Idea for this: Show mounted volumes (the icons) as you do now, but if a volume is not mounted, perhaps the icon could be at 50%, like it is in Disk Utility. I would personally like to modify this workflow to suit my personal needs, but I am clueless with python. I also do not want to step on your toes because you have started this awesome workflow and it would appear that you could add these features if you deem them necessary. Link to comment
hzlzh Posted July 20, 2013 Share Posted July 20, 2013 Nice workflow, hope you can share it on the List site below~ Link to comment
lewis.dn Posted February 5, 2014 Share Posted February 5, 2014 Hi, Fantastic workflow. Can you repost the link though please....current one is dead. Cheers Link to comment
paulw Posted February 8, 2014 Share Posted February 8, 2014 I'd like to use this workflow as well. Please repost (or post on Packal.org)! Link to comment
RodgerWW Posted February 8, 2014 Share Posted February 8, 2014 I have placed the workflow on my server for now, until smoovmaster gets his link worked out. DOWNLOAD Link to comment
forinec Posted July 13, 2014 Share Posted July 13, 2014 The workflow seems need an update, currently it's only displaying all the non "SATA" drives, but those internal "PCI-E" drives come with the new MacBooks will show in the list, while those are definitely not expected.... Link to comment
dfay Posted July 14, 2014 Share Posted July 14, 2014 Is there any reason to use this rather than Alfred's built-in eject command? Link to comment
shuswenka Posted September 17, 2015 Share Posted September 17, 2015 Is there any way to update this workflow to make it more compatible with later macbook pros (mid-2015)? Removing the internal "PCI-E" from the list would help avoid accidental ejection of the hard drive. Link to comment
tylerjvick Posted August 9, 2016 Share Posted August 9, 2016 In case anyone is still looking for an updated version. I excluded PCI volumes in this updated workflow, it was a simple addition in the Mounted.py file within the workflow files. http://s000.tinyupload.com/index.php?file_id=11607534801774428624 Sorry if the hosting is sub-optimal, didn't really want to host it on my Dropbox since I sync all my Alfred workflows already. Link to comment
delta25 Posted September 26, 2016 Share Posted September 26, 2016 I haven't checked the new version you published, but the previous one requires a small change as of macOS Sierra. diskutil info no longer refers to the size using the word 'size', but using the word 'space'. Therefore, the line "volume_size = re.search('Total Size:\s+(\S+\s\w+)', extra_info)" needs to be changed to "volume_size = re.search('Total Space:\s+(\S+\s\w+)', extra_info)" Link to comment
nicola.efflandrin Posted October 29, 2016 Share Posted October 29, 2016 @smoovmaster unfortunately the worklflow no longer works on MacOS Sierra. It doesn't find volumes. Can you fix it? It was very helpful! Thanks a lot for your time Link to comment
alfred1024 Posted June 2, 2018 Share Posted June 2, 2018 @smoovmaster @sloppyjimbob @hzlzh @RodgerWW @paulw @forinec @dfay Does anyone in this page have access original workflow, all links on this page is down... wouuld you please help share it if you have a copy? thanks. Link to comment
iEnno Posted June 8, 2018 Share Posted June 8, 2018 Found this in my Downloads folder. Hope it helps. Link to comment
realliyifei Posted November 26, 2019 Share Posted November 26, 2019 no link/source available... Link to comment
iEnno Posted December 10, 2019 Share Posted December 10, 2019 Thanks to lazy me-of-the-past it's still hanging in my downloads folder. Click here for download. 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