Last active
December 28, 2019 04:13
-
-
Save simon-liu/ae1bd2922843d492190df2483aa850d5 to your computer and use it in GitHub Desktop.
sed search & replace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i -- 's/hello/moto/g' **/*(D.) | |
sed -i 's/hello/moto/g' file.txt | |
find /home/bruno/old-friends -type f -exec sed -i 's/ugly/beautiful/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment