Skip to content

Instantly share code, notes, and snippets.

@fapestniegd
Created July 14, 2009 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fapestniegd/147096 to your computer and use it in GitHub Desktop.
Save fapestniegd/147096 to your computer and use it in GitHub Desktop.
echo "<html><body>">mrtg/index.html; find mrtg -name "*-day.png" | while read line;do url=$(echo $line|sed -e's/-day.png/.html/'); echo "<a href='https://hubble.eftdomain.net/$url'><img src='https://hubble.eftdomain.net/$line' width='200'></a>"; done >> mrtg/index.html; echo "</body></html>">>mrtg/index.html;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment