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
> 
> 

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to