Last active
August 29, 2015 14:07
-
-
Save mikebell/95ba677bbba42149b504 to your computer and use it in GitHub Desktop.
Halp I need to rename all the features and I'm lazy
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 | |
#Forgive me cli gods for I have sinned | |
mv $1 $2 | |
cd $2 | |
rename "s/$1/$2/g;" * | |
perl -pi -w -e "s/$1/$2/g;" * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment