I want to replace the backslash in the string
page_path\example_filename.txt with a forward slash. I also want to be able to run this on a large file system and have it recursively search all directories.
I found someone on the web who said to use
sed but I wasn't able to get it to work. I've been trying different variations on delimiters and escape characters, but didn't get it.
Here is the command I was trying to run:
grep -lr -e 'page_path\\' * | xargs sed -i 's/page_path\/page_path//g'
Thanks in advance.