Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionate开发者_StackOverflowd answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI'm looking to do some directory cleanup to a 300+ page web app that is 10+ year old. It contains a mix of classic .asp and .NET code and .xsl files. It is a convoluted mess of spaghetti code as you can imagine.
What I would like to find is a tool where I can enter a list of file names and have the tool search for instances of the file name within the source of a given directory and report back counts for each file. I've been using Agent Ransack to search on each file one at a time but as you can imagine it is very time consuming. Any suggestions?
Maybe not exactly what you're looking for, but Notepad++ has a "Find in Files" feature. It lets you use regex, optionally replace, filter results, and specify a directory. Hit find all, and it comes back with a list of locations of hits.
精彩评论