header image
 

links for 2009-12-07

  • Here's the workflow that I use

    1) ASK FINDER FOR ITEMS
    Start at /Volumes
    Type: Files and Folders (Allow multiple selection)

    2) RUN SHELL SCRIPT
    shell: /usr/bin/perl
    pass input as arguments

    for $f (@ARGV) { $r = quotemeta $f; $c = `basename $r`; print `lsof +fg | grep -v " EVO " | grep "$r"`};

    3) ASK FOR TEXT
    text: "The Culprits"
    default text: "Nothing Found"
    require an answer

    When you run this, it opens /volumes and lets you pick the disk you cannot eject. then it tells you which apps are locking it.

~ by bryan on December 7, 2009.

Leave a Reply