--delete doesn't work

Dave Dykstra dwd at bell-labs.com
Fri May 3 14:15:01 EST 2002


In order for rsync to be able to delete a file, it nees to example
a whole directory and you're just giving it a list of files as the
source, *.dat.  Does this work for you?

    /usr/local/bin/rsync -rztvp --include "*.dat" --exclude "*" --delete \
	rsync://1.1.1.1/file/ /export/home/test/

- Dave Dykstra


On Wed, May 01, 2002 at 10:15:37PM -0500, David Walgamotte Jr. wrote:
> --delete doesn't work , I've read the docs, can anyone help ?
> 
> ie .
> 
> /usr/local/bin/rsync -rztvp --delete rsync://1.1.1.1/file/*.dat /export/home/test/
> 
> 
> As docs read --delete will remove files on rec. server that are not on sending server.
> This does not work .....
> 
> Regards,
> David
> 
> 




More information about the rsync mailing list