Jump to content


  • Posts

  • Joined

  • Last visited

sebbo's Achievements

Helping Hand

Helping Hand (3/5)



  1. For sudo, I've been using AppleScript: do shell script "sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl" with administrator privileges You get prompted with a standard OS X authentication dialog box.
  2. Oh, sorry, I missed that. I was under the impression that `sudo` bash scripts couldn't be used in Alfred workflows? Can anyone clarify? The only other difference is in this version the Notification is only displayed if the command runs without errors (and the workflow icon ).
  3. My first Alfred workflow. Flushes DNS cache on Lion and Mountain Lion by the method recommended by this Apple support article. All it does is run: killall -HUP mDNSResponder …with admin privileges (you'll be asked to authenticate). I made it because the other workflows I’ve seen use the <10.7 method (dscacheutil). Download
  • Create New...