0
votes
1answer
365 views

Script for modify file content in specified files

I tried searching previous questions but none worked or I couldn't adapt them to my needs I want to write a script that asks for: folder criteria old string new string And replace every file in ...
1
vote
3answers
2k views

Using sed to replace text from a list of files from find

Given the following find command: find . | xargs grep 'userTools' -sl How can I use sed on the results of that command? output: ./file1.ext ./file2.ext ./file3.ext
10
votes
3answers
3k views

Search and replace tool that can handle multiple files and subfolders

I'm looking for a tool which can search/replace within file contents for a broad range of file types (i.e. it should, if possible, process the maximum possible number of file types like .txt, .sql, ...