File Sync between laptop and desktop
I have a laptop running OS X 10.3, and a desktop running Debian Sarge. I need to synchronize files between the two, so that both the laptop and the desktop has the same copy of the files.
I guess I need to use rsync, but that copies new files but doesn't delete files on the other computer. For example, say I delete the file foo.txt on my laptop but not on my desktop. If I then rsync the laptop with the desktop, the file is copyed back to the laptop.
What I would like to do is have a shell script that I can run from the laptop, so that when I run it, I get the same copy of files on both the laptop and the desktop, regardless of which computer has the newest files.
Thanks in advance for any help