Q. Consider a sample file.txt:
World Hello world Hello Hell Hello Hello world
How to find and replace the sentence “Hello World” into “Hai Universe”
World Hai Universe Hello Hell Hello Hai Universe
I’d like to this changes recursively in all the matching files inside a folder.
Advance Thanks.
Try using
findwithsed:This will find all of the files, recursively, in the current directly and then execute a
sedfind+replace on each file individually.