Skip to content

Instantly share code, notes, and snippets.

@Swarchal
Created October 27, 2016 15:06
Show Gist options
  • Save Swarchal/0a08638ddd16537921ec5d51c157a088 to your computer and use it in GitHub Desktop.
Save Swarchal/0a08638ddd16537921ec5d51c157a088 to your computer and use it in GitHub Desktop.
replace text in all files in current directory
sed -i -- "s/current/replacement/g" *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment