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

qt - switch/case statement in C++ with a QString type -

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

Python's equivalent for Ruby's define_method? -