[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

Need to search web folder for all pages that contain an IP Adress

Hello, I am in a bind.

All of my Virtual IP addresses are changing and I have about 15-20 sites that call other domains by IP Address in a web folder of about 100 sites.  

I need to search for any page that contains an IP Address.  

I know that some start w/ "207." so I searched for them and found them, but I want to find all IP Addresses.  I'm not sure on syntax or if it's possible (1-9^.1-999^.1-99^) <-- I just made that up as an example of what I'd like to search for.

Is there a way to do this with Dreamweaver or another program?  

Any help would be MUCH appreciated.  Thank you.
0
smoothcat11
Asked:
smoothcat11
  • 2
  • 2
1 Solution
 
JimboEfxCommented:
Not a macromedia person but ultraedit has a very power file search capability.

Just point it at a directory structure and it comes back with the results.
0
 
smoothcat11Author Commented:
if I did install and run ultra edit.  Is there a way to check for IP Addresses?  If so how would I do it?  Thanks for your time.
0
 
JimboEfxCommented:
Assuming you can open this folder in explorer I would just use the search facility.

http://www.ultraedit.com/index.php?name=UE_MoreFeatures [look at search features]

http://www.ultraedit.com/index.php?name=Content&pa=showpage&pid=95

Screen shot:
http://www.ultraedit.com/index.php?name=coppermine&file=displayimage&album=7&pos=17

http://www.ultraedit.com/index.php?name=coppermine&file=displayimage&album=6&pos=39

Think of a find and replace function on steriods, that's the best I can describe it. So long as it can see this web folder you can run a search on the old string, review then run a find and replace with the new one.
0
 
Mark GilbertSenior Performance EngineerCommented:
Hi.  If you setup a new site in DW and point it to the root of all your sites with the hard coded IP addresses in, simply use the find utility (CTRL+F) and type in the first IP address you are aware of and then click find all.  This will then give you a list of every matched file.  As you said there are 20, I don't see any major issues with you searching for each one.  Once you have identified the specific strings, using the same tool you can then multiple search and replace and that will recursively go through every file and do the changes.  Hope this helps.
0
 
Mark GilbertSenior Performance EngineerCommented:
Oh, hadn't seen the mention of 100 or so sites.  
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now