Skip to content

Instantly share code, notes, and snippets.

@skarra
Created August 4, 2013 12:03
Show Gist options
  • Save skarra/6150142 to your computer and use it in GitHub Desktop.
Save skarra/6150142 to your computer and use it in GitHub Desktop.
Replace a string in all files in a directory, recursively.
find test -type f -print0 | xargs -0 sed -i .bak 's/GNU Affero General Public License/GNU Affero GPL (GNU AGPL)/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment