GP2X Rsync For Gp2x


gfoot

Member
Joined
Nov 15, 2005
Messages
218
rsync is a tool to synchronize files between two computers without sending much traffic over the wire - it uses quite a sophisticated mechanism to only upload portions of large files which have changed.

I've built it for the GP2X because the USB link is rather slow; it should come in handy.

http://www.glost.eclipse.co.uk/gfoot/gp2x/rsync.zip

You'll also need an SSH server, unless you run rsync in daemon mode which doesn't feel ideal for me.
 
Cool .. note that if you're using Linux as your Primary development workstation, you can effectively achieve a similar situation (copying only changes) by using:

Code:
cp -ruv somedir/* /mnt/gp2x/somewhere/

My 'make distinstall' targets usually have some such thing in there ..
 
You could do that, but rsync does have some extra benefits - it compresses the data (if you ask it to), doesn't necessarily rely on timestamps, and can also delete files that should no longer be there. It's easy to set it up so your GP2X's sd card is an exact mirror of a directory on your PC, which is really what I wanted.
 
Back
Top