rsync --delete isn't deleting files
Tiago Marques
tiagomnm at gmail.com
Sat Jul 12 02:48:31 GMT 2008
Hmm, looks like I'm not done with this, yet.
With rsync 3.02, it works fine:
rsync --exclude='/*/' --delete-before -tvlpr
rsync://rsync.sabayonlinux.org/SabayonLinux/ /storage/mirrors/
But not with the 2.6.9 version :|
I just get this, with the mirror completely outdated:
receiving file list ... done
sent 92 bytes received 518 bytes 93.85 bytes/sec
total size is 11592052049 speedup is 19003364.01
I would rather like to keep this version, since it's the one that
comes with the distro, if possible. Help!
Best regards,
Tiago Marques
On 7/12/08, Tiago Marques <tiagomnm at gmail.com> wrote:
> Indeed, that worked great for me!
> Big thanks to both for your time.
>
>
> Tiago Marques
>
>
>
> On 7/11/08, Matt McCutchen <matt at mattmccutchen.net> wrote:
> > 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
> >
> >
>
More information about the rsync
mailing list