-
Script wanted...
I know that there are links on my servers to a site I no longer wish to promote.
Does anyone know of a srcipt that will run through my server and report where the links to the site are located? If I input which 'link' I am searching for.
To do this by hand would take months so it would really help.
NB it does not need to change the link...merely locate it and report it to me.
Thanks
Dave
-
hi
if you have root access to your server via an SSH connection you could try to do this (in the directory you whish to search)
Code:
$ crep searchfor *.fileextension
so
Code:
$ grep http://www.domain.com *.html
would find every http://www.domain.com in the files of type html
(remove the $ in the shell lines)
-