Skip to content

Instantly share code, notes, and snippets.

@naltun
Created August 2, 2018 16:01
Show Gist options
  • Save naltun/1839d496bbba71143e798014a708f276 to your computer and use it in GitHub Desktop.
Save naltun/1839d496bbba71143e798014a708f276 to your computer and use it in GitHub Desktop.
find + sed
#!/bin/bash
find . -type f exec sed -i -e 's/firstString/secondString/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment