Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two laptops, one running ubuntu and one running Mac OS X. How do I rsync from the Mac to the ubuntu machine?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

You set up sshd on at least one of the computers to allow access from the other. On the Mac it's at System Preferences, Sharing, Remote Login, on Ubuntu apparently you just install openssh-server. Find out that computer's IP address (on the Mac, ifconfig en1 if you're using Airport, ifconfig en0 for the Ethernet connection). Then on the other computer run something like

rsync -Pvaz source_directory username@10.0.0.2:target_directory

where you substitute your user name for username, the relevant directories for source_directory and target_directory, the correct IP address for 10.0.0.2, and your favorite options for -Pvaz.

share|improve this answer
add comment

There are surely ways to do that via a cron, but I think, its far better to install Dropbox

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.