Ok so I’m trying to sync with one of the local boxes on my network, but I don’t want to install another server demon on it. To the rescue – rsync!
But wait…doesn’t rsync require the rsync demon? Not always! Besides, transmitting cleartext doesn’t impress me much. And setting up SSH secrets and auth files for rsyncd goes against my new Ockham’s Razor principle :)

rsync has come a long way. The version at the moment means that there is only one binary that acts as both the server and client. It also supports the ability to operate over SSH. So, given that it’s 5am and I’m still operating on about 4 hours average sleep, I’m explaining things fine, I’m just not explaining much…and using lots of words to do it! Hows that for anti-Ockhams Razor…

I am currently obsessed with MS Visio though, so I made a sexy little diagram :)

This REQUIRES both computers have rsync installed…but only as client programs!
Then, to sync the data, the general command form is:

rsync -avzr (source) (destination)

And to use a remote computer via SSH, the path is specified by “-e ssh user@host:/full/path

So if we are using Computer 1 and wish to sync FROM Computer 2:

rsync -avzr -e ssh user1@computer2:/source/path /destination/path

If we were just copying, we could use scp -r, but then we’d have to copy the whole dir every tim!

And the short explanation for the digaram is: Sync with rsync and ssh with an encrypted channel with existing Linux user permissions on the client / server. Finito! Sleep time.

Written on April 2nd, 2007 , Uncategorized

I own a Palm TX. Yes, it’s PalmOS based. It annoys me looking and using Windows on a mobile device, it just feels…wrong ;)
Windows was built for a mouse in my opinion.

Unfortunately, PalmOS is not perfect either. Neither are the devices they make. I was at a business conference last night, trying to take notes. ‘Trying’ because half the time I would write something, and it would mess it up. Not because it interprets everything incorrectly, it just interprets some really common things incorrectly. Which is annoying to say the least. Oh and if I alter the pressure I use on the pad with the scribe while writing, it will often just result in a dot. It must think that I’m just tapping the pad. Sigh.


Common problems I’ve found in Notepad with the recognition:
- My ‘u’ often turns into a ‘v’
- When writing an ‘l’ and doing a space quickly afterwards, it thinks I’m trying to do a ‘t’
- When trying to do a ‘t’ it thinks I’m doing an ‘l’ and a space!
- If the letter is slightly off angle, it picks it up as the control character (diagonal slash), and if I fail to notice, it winds up doing some random operation when I draw the next letter
- Also as above, sometimes it will pick up the letter as the special character marker, and refuse most characters as input.
- It skips spaces a lot (i.e. I’ll do a space and it won’t pick it up!)

Written on April 1st, 2007 , Uncategorized

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something

Personal jorunal of a professional geek – James Pearce in Perth, Australia