Code Monkey home page Code Monkey logo

alfred-eject-workflow's People

Contributors

fabiospampinato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

betweenli

alfred-eject-workflow's Issues

Ignore `/Volumes/Recovery`

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!

"Eject all" incorrectly reports successful ejection

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?

NodeJS required for listing ejectable drives

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.