Created
September 17, 2018 10:00
-
-
Save martinpi/7d609056e9c157408fd23335eddfed29 to your computer and use it in GitHub Desktop.
Update all my copies of Unitilities to the most recent commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find /Users/pi/Projects -name "Unitilities" -exec sh -c ' | |
for file do | |
echo "\033[0;32m[ Updating $file ]\033[0m" | |
cd "$file" | |
git pull | |
done | |
' sh {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment