Skip to content

Instantly share code, notes, and snippets.

@kafka399
Created November 9, 2012 17:11
Show Gist options
  • Save kafka399/4046903 to your computer and use it in GitHub Desktop.
Save kafka399/4046903 to your computer and use it in GitHub Desktop.
How to replace text in bunch of files
find . -name "*.jsp" -print | xargs sed -i 's/old_stuff/new_one/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment