This is the Perl script I use to perform mass search/replace operations through entire directory hierarchies, which has been an absolutely crucial capability over the years. It replaces a simple-text string in file contents, filenames, directory names, and symbolic link targets. It should be obvious, but this is a potentially very hazardous operation, so BE CAREFUL with it. And, of course, you use it at your own risk.