Automatically syncing corpus between 2 computers

I have both a desktop and a laptop Mac. I would like to automatically keep my corpus synced between the two computers. (Actually “sync” is somewhat misleading, as I only need the sync to go in one direction (desktop -> laptop).

I already have a Unix shell script that I wrote that syncs my files using the “rsync” command line tool. Searching around my home directory, I found the file HOME/Library/Application Support/SpamSieve/Corpus.corpus. If I instruct my script to copy this file to the other computer, then is this sufficient? Do I need to copy over any of the other files in the above directory (e.g. History.db, Notes, False Negatives, etc.)?

Thanks in advance for your help.

The training data is stored in Corpus.corpus and in Rules, so I think you should copy at least those two files. Make sure that SpamSieve is not running on either Mac during the copy.