Skip to content

Instantly share code, notes, and snippets.

@smerrill
Created March 24, 2011 23:13
Show Gist options
  • Save smerrill/886082 to your computer and use it in GitHub Desktop.
Save smerrill/886082 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Remove all the mysql 5.1.56 commands from your Homebrew installation.
ls -aFl $(brew --prefix)/bin/mysql* | grep 56 | awk {'print $9'} | tr -d '@' | xargs rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment