Hello, everyone,
Sorry for the noob question, but does anyone know if I can use the glitch terminal to search and replace a word inside all the files of my project in Glitch?
Hello, everyone,
Sorry for the noob question, but does anyone know if I can use the glitch terminal to search and replace a word inside all the files of my project in Glitch?
you should be able to use sed
e.g. sed -i s/search/replace/g
*
edit: looks like the answer might be a bit more complicated if you want to recurse into directories. the linked stackoverflow page has plenty of good answers by the looks of it.
Hey! It worked perfectly, it even replaced the words in .hmtl files that were inside other folders. Perfect, thanks!