I searched the forum, but I don't think I was able to find exactly what I'm looking for.
Is there a command in shell where I can delete a particular string from every file it occurs in (where the file is named the same, but sits in different directories)?
Example: Within the directory I am in, there are 30+ directories with different names, each beginning with 2004 and then the rest of a date. Within each of those directories, there is a directory named "small" and within that directory is a file named "slideshow.shtml" (ie 2004*/small/slideshow.shtml)
I want to delete the string " <!--#include file="photo_main_site.html"--> " from every slideshow.shtml file without having to navigate into each directory and pulling up the file with an editor.
Is that possible?
I am a newbie, please type slowly.
And thanks in advance!!!
Nicole