Andrej Bartkoforbartkobartko.hashnode.netยทDec 13, 2022Efficiently Finding and Replacing Text in Multiple Files Using ripgrep and sedcommand rg "some string" | xargs -d "\n" sed -i "s/some string/another string/g" The command searches for the specified string using ripgrep and pipes the results to xargs, which executes the sed command on each line returned by ripgrep. The sed com...RipgrepAdd a thoughtful commentNo comments yetBe the first to start the conversation.