Skip to content

Instantly share code, notes, and snippets.

@phedoreanu
Last active July 12, 2016 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phedoreanu/1c549906f10e07a53822 to your computer and use it in GitHub Desktop.
Save phedoreanu/1c549906f10e07a53822 to your computer and use it in GitHub Desktop.
#! /bin/bash
echo "OS X update"
softwareupdate -ia
echo "Brew update"
brew update && brew upgrade --all && brew cleanup
#echo "pip2 update"
#pip2 list -o > pip.txt
#sed -E "s/\(.*\)//g" pip2.txt > upgrade2.txt
#sudo pip2 install -Ur upgrade2.txt && rm pip2.txt upgrade2.txt
echo "pip3 update"
pip3 list -o > pip3.txt
sed -E "s/\(.*\)//g" pip3.txt > upgrade3.txt
sudo pip3 install -Ur upgrade3.txt && rm pip3.txt upgrade3.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment