I am looking to walk a directory structure, look at all the files ending in .html, and examine them for a bit of text and replace that text if its found. Awhile ago someone was kind enough to answer me for doing something like this if all of the files are in a certain directory but I haven't found a way to do this recursively. I tried this: perl -pi.bak -e 's/bob/dick/' testing/. But that doesn't seem to work. If this command would work like I think it should and it could be made only to affect a certain file extension, that would rule. So is there something I am missing or should I start writing something a little bigger for the job? ____________________________ Mike Neuharth ADCS Technology Specialist http://www.umn.edu/adcs E-Mail : mjn at umn.edu Page Mail : 6126486512 at page.metrocall.com http://supermonkeycollider.dyndns.org/ ____________________________