|
Yes, you can run rsync from either end. The complication is that if you have files A, B and C in your directory, and you most recently edited file A on host1 and most recently edited file B on host2, rsync needs to know that it should not overwrite a file on the target that is newer than one on the source. It appears that the -u option might turn that trick.
I typically run rsync with the -avz options for Linux-to-Linux, which preserves symbolic links and file creation times. If one filesystem is FAT32, I would substitute the -rltv options. rsync can be run from one directory to another (even with a remotely mounted disk) or over the network. See the man page for a good summary.
I am not familiar with the unison application, I presume it figures out for you which host has the newer version of a file.*
You didn't specifically mention, but is the PC with a FAT32 disk running Windows? You can get rsync for Windows if you are running Cygwin. Rsync comes standard with Linux, and is available for most brands of Unix, including MacOS X.
update:
* I checked out that web page for [/b]Unison[/b], and it claims to do just that. The down side is that it is not included with Linux and does not have a lenghty positive track record, as rsync does. I presume if it does what is claimed for it, it should catch on nicely.
__________________
Explore the Core!
Last edited by CrystalCowboy; 2nd January 2006 at 07:25 PM.
|