Skip to content

Instantly share code, notes, and snippets.

@renoirb
Created August 31, 2014 16:07
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 renoirb/45773fa03b1c717e4e72 to your computer and use it in GitHub Desktop.
Save renoirb/45773fa03b1c717e4e72 to your computer and use it in GitHub Desktop.
Mass rename in git submodule config paths
#!/bin/bash
for i in `ls */config`
do
echo "Editing $i ..."
sed -i .tmp -e 's/\/srv\/code\/docs\/nextgen/..\/..\/..\/../' $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment