Skip to content

Instantly share code, notes, and snippets.

@joecannatti
Created March 28, 2011 22:21
Show Gist options
  • Save joecannatti/891426 to your computer and use it in GitHub Desktop.
Save joecannatti/891426 to your computer and use it in GitHub Desktop.
Rails method rename
for i in `find . -name \*.rb`; do echo $i; sed -i -e "/[:.]omc_data_service/ s/\([:.]\)omc_data_service/\1service/g" $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment