sed Not really sed at the moment, but a tool that can be used to replace some string in all files that match a pattern. cmd/sed 'XXX' 'YYY' './*/*.go' cmd/sed -dryrun 'XXX' 'YYY' './*/*.go'