copy files using rsync and ssh
rsync -a -e ssh source/ username@remotemachine.com:/path/to/destination/
DZone Snippets > jrobertson > rsync
11380 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
James Robertson http://www.r0bertson.co.uk
rsync -a -e ssh source/ username@remotemachine.com:/path/to/destination/