Tag Archives: sed

CLI search and replace in multiple files

Here is a quick tip about how to find and replace a text in multiple files, from CLI.In this example you have some text files (.txt) with urls like “http://example.com, http://another-example.com…”. What you are trying to do is to replace all “http” references with “https”.