rsync --delete isn't deleting files

Matt McCutchen matt at mattmccutchen.net
Fri Jul 11 20:42:32 GMT 2008


On Fri, 2008-07-11 at 13:01 -0700, Wayne Davison wrote:
> On Fri, Jul 11, 2008 at 04:22:04PM +0100, Tiago Marques wrote:
> > I was already using the -d option, it download the subdirs also.
> 
> You also need to not use -r (e.g. either expand -a and omit -r, or
> specify --no-r).

-d will create the subdirectories themselves regardless of -r, which I
think Tiago doesn't want.  That's why I suggested an exclude instead of
-d.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080711/4fd7fb66/attachment.bin


More information about the rsync mailing list