Create a gist now

Instantly share code, notes, and snippets.

@jseabold /rmpy.sh
Last active Oct 6, 2015

rmpy delete python packages from dist-packages
function rmpy {
if [ -z "$1" ]; then
echo "Aren't you glad I didn't delete everything?";
else
sudo rm -rf /usr/local/lib/python2.7/dist-packages/$1*
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment