Skip to content

Instantly share code, notes, and snippets.

@mikebell
Last active August 29, 2015 14: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 mikebell/95ba677bbba42149b504 to your computer and use it in GitHub Desktop.
Save mikebell/95ba677bbba42149b504 to your computer and use it in GitHub Desktop.
Halp I need to rename all the features and I'm lazy
#! /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