fabiospampinato / alfred-eject-workflow Goto Github PK
View Code? Open in Web Editor NEWAlfred workflow for ejecting mounted drives.
License: MIT License
Alfred workflow for ejecting mounted drives.
License: MIT License
I noticed today that Recovery
showed up as an option for me to eject. I hadn't seen this before today, so it's possible it's mounted for some reason.
Adding this to line 21 in list.js
filters it out:
if ( /^\/Volumes\/Recovery/.test ( mountpoint ) ) continue;
I'd submit a pull request, but I'm not sure you want a full binary swap as a PR for the .alfredworkflow
. If you'd like me to do that though just let me know. Thanks for a great workflow!
When I use the "eject all” command, I always get a “it is now safe to remove your hardware”—even when the eject fails because a volume was being used. This caused me to mistakenly remove a hard drive that was in use, leading to it becoming corrupted (don’t worry, no data loss!). umount gives an error code in this case, so it should be straightforward to give a different notification if the command fails, right?
Hi @fabiospampinato,
Thank you for making this useful workflow!
I tried installing it, but couldn't get it to work straight away: after typing eject
, a list of drives didn't appear. After looking at the workflow, I noticed that a NodeJS script is used to generate this list.
Can you list NodeJS as a dependency in the readme, for other people running into the same problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.