[clug] RSync Question....

Martin Pool mbp at sourcefrog.net
Fri Sep 24 23:34:52 GMT 2004


On 25/09/2004, at 9:15 AM, Donovan J. Edye wrote:

> Now when I execute the following rsync command on the cygwin box:
>
> $ /usr/bin/rsync --verbose --verbose --recursive --delete --compress
> /cygdrive/c/Donovan/Pacc/* 192.168.40.3::donovan/donovan/pacc

The '*' expands to a list of all files in Pacc.  So rsync knows nothing 
about files that are *not* in Pacc, because they've been deleted.

So you want to rsync the directory instead:

   rsync --blah /cygdrive/c/Donovan/Pacc/ dest::donovan/donovan/pacc

-- 
Martin



More information about the linux mailing list