Created
August 14, 2013 17:17
-
-
Save maedoc/6233208 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 | |
mkdir old_bundles | |
for dir in $(ls vim/bundle) | |
do | |
url=$(cat vim/bundle/$dir/.git/config | grep url | cut -d= -f2) | |
echo "found $url" | |
mv vim/bundle/$dir old_bundle | |
git submodule add $url vim/bundle/$dir | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment