Just fgrep for the filename ...
fgrep -Rn "file.php" /path/to/docroot
- Jon
On Jul 26, 2007, at 1:41 PM, Aaron Fischer wrote:
I have an include file that I do not want to use anymore. I want
to go through all the files on my site and find every instance of
the code that calls that include file.
Any suggestions on how to do that?
Thanks,
-Aaron
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php