Does anyone know of a program that will scan directories for user defined words? I tried XP's search and it doesn't look like it'll search within php code. I have a lot of PHP files and I'm trying to translate certain parts and a tool like this would make it much easier. Any ideas? Thanks
Have you considered writing a PHP script to edit the files? If dreamweaver can do this then that would probably be easier but a PHP script is an alternative.
maybe you can bulk rename all those files to .txt through the command line before you perform the search. do a complete copy of the entire root directory and then perform the bulk renames so that you don't get mixed up with the existing .txt files...
And if you stick your files on Linux you can 'grep' a whole hard disk and find a single word in seconds.
I am sure - grep rocks. On the Windoze plaform you can use the close relative to grep -> find: find "text you are looking for" filename use it at the command line
I use EditPlus for php coding. It has a search in files feature. You select a folder and if it should travel to sub-folders, give it a search term and bam, it finds the files with the search term in them. Then you can open each by clicking and you'll go right to the line the search term was found on. Then you can use search and replace in all open files to change it. Now after typing all of that, I hope I understood the question. IIRC ged can do the replace by itself or with a little help from grep. ged and grep, two handy linux CL utilities.