linux - How do I do a recursive, in-file replace? -


Assume that I want to scan every file in this directory (recurring, too).

And I want to change happy.magic with sad.apps.magic

? How can I go about doing this?

  search-type f -exec sed -is, happy.magic, sad.apps. Magic, g '{} \;    

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -