Monday, March 4, 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