April 9, 2008

On Trees and Other Leafy Things

Sometimes the best way to view things is in a tree shape, and your website is no exception.

tree

For a nice tree view showing file sizes and links to the actual files, edit your crontab:

crontab -e

Add this line into cron:

0 * * * * /usr/bin/tree -C -s -D -H http://www.yourdomain.com
/address/of/your/web/root/ > /somewhere/tree.html

This will run every hour updating your tree.html with a new detailed site map.

Hew new I bagged such a SMRT smart man? And with such great McDreamy hair to boot!

Comment by Lindsay — April 10, 2008 @ 10:19 am

Leave a comment