Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


rsync | 30 comments | Create New Account
Click here to return to the 'rsync' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
rsync
Authored by: peyote on Oct 19, '02 05:43:49AM

And if you like scp for this kind of thing, you'll love rsync.

Same kind of functionality and runs over ssh too (so secure), but is
smart about what it copies. You can tell it to copy a whole directory
tree not only will it only copy files that have changed, but it'll
only copy the *parts* of the files that have changed. So if you have
a single big file and you've (say) added a few lines at the end since
the last time you copied it, rsync will beat scp for speed every time.

You do need to have rsync installed on both computers though (I imagine
it's in fink, and it's pretty easy to build on any Unix box)

Handy idiom:-
rsync -vae ssh --delete MyDir remote:BackupDir

Will copy al the files (and folders) on Mydir to BackupDir on the machine
called "remote". The next time you run it, it will only copy the changes
across.... so handy for remote backups etc.



[ Reply to This | # ]
rsync
Authored by: peyote on Oct 19, '02 05:50:12AM

Silly me, I should have checked... rsync is bundled with Jaguar, so
just "man rsync" in a terminal window for the low-down.

It's version 2.5.2 which is a little old, but I'm pretty sure
new enough to have the last security issue fixed.





[ Reply to This | # ]