Skip to content

Instantly share code, notes, and snippets.



Created Nov 4, 2014
What would you like to do?
Replace all occurrences of `wrong` with `right` in all files matching `*.txt` in a directory
sed -i '' 's/wrong/right/g' *.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.