Last active
August 29, 2015 13:55
-
-
Save nicklozon/8777237 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
# Update all git repositories in the given directory | |
# Originally intended for pathogen bundle folder to update all vim extensions | |
# Cron job: | |
# 0 20 * * * ~/.vim/bundle/update_all.sh | |
cd ~/.vim/bundle | |
find . -maxdepth 1 -mindepth 1 -type d -exec sh -c 'cd $0 && git pull' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment