[Tfug] finding linked pages

christopher skeptikos at gmail.com
Sat May 3 07:40:37 MST 2008


> It's a find one-liner.
> 
> With Gnu find:
> 
> find . -iname "*.html" -exec sed -i.bak -e 's/<body>/<body>YOUR  
> SCRIPT HERE/' {} \; -print

Well, with webcheck, I should be able to get a list of
all links that are not external to the website, then I
should be able to use the find one-liner you above.

I always considered myself to be one step closer to
coolness when I started to use sed, so thanks for that
part of it too

-- 
christopher <skeptikos at gmail.com>




More information about the tfug mailing list