Skip to content

Instantly share code, notes, and snippets.

@cjerdonek
Created June 13, 2012 05:53
Show Gist options
  • Save cjerdonek/2922120 to your computer and use it in GitHub Desktop.
Save cjerdonek/2922120 to your computer and use it in GitHub Desktop.
Shell script to git-mv several files (for Groome)
dir_names=`ls tests`
for dir_name in $dir_names
do
git mv "tests/$dir_name/project" "tests/$dir_name/structure"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment