Tuesday, March 5, 2002

Write on the laptop, publish on website

I typically use my Linux laptop for work and surfing, so I've wrote a one-liner to use rsync to securely update my blog notes. If you use ssh-agent, you won't even need to type your ssh password more than once a day.

rsync --exclude '*~' -azv -e ssh ~/public_html/blog/*.txt nozell@www.nozell.com:~/HTML/marc/blog/