Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-07-10, 09:09 PM   #1
airdick
Shut up brain, or I'll stab you with a Q-tip!
 
Join Date: Aug 2003
Posts: 114
Here is a quick-and-ugly one-liner for bash:

host=www.yourdomain.com;for var in `find . -type f -name index.html| cut -c 3-`;do echo \<a\ href=\"http://$host/$var\"\>$host/$var\<\/a\>\<br\> >> /tmp/$host-indexpages.html;done

You would have to run this from the root of each domain, so it's definately not a run-once solution, but it will get the job the done.
airdick is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:31 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc