some tools used on/in blog


generate a sitemap

git clone
cd python-sitemap.git
python --domain --output sitemap.txt

you can then push the sitemap.txt to the webserver using

 rsync -av --rsync-path="sudo rsync" dev/python-sitemap/sitemap.txt idiot:/var/www/html

note the trick here with passing sudo rsync to the remote, it will bypass permission issues on the remote. (need to fix that good, a better option is to run this as a cron job on the server every few days