/ Published in: Bash
Replaces string 'sth' with 'sth-new' in all files in current directory.
Expand |
Embed | Plain Text
sed -i.backup -e 's/sth/sth-new/g' *
You need to login to post a comment.
Replaces string 'sth' with 'sth-new' in all files in current directory.
sed -i.backup -e 's/sth/sth-new/g' *
You need to login to post a comment.