Using SED to replace urls in a list of files
Say you have a list of files on your harddrive and you want to replace
/api/hello.json
with
/api/v2/hello.json
This can be done very easily with sed
:
This command will overwrite your files and replace that URL.