Re: rsync --delete isn't deleting files - Tools

This is a discussion on Re: rsync --delete isn't deleting files - Tools ; I was already using the -d option, it download the subdirs also. The --exclude option worked fine though, and --delete-before is now working very well. Tks to all! Best regards, Tiago Marques On Fri, Jul 4, 2008 at 11:18 PM, ...

+ Reply to Thread
Results 1 to 10 of 10

Thread: Re: rsync --delete isn't deleting files

  1. Re: rsync --delete isn't deleting files

    I was already using the -d option, it download the subdirs also.
    The --exclude option worked fine though, and --delete-before is now
    working very well.
    Tks to all!
    Best regards,
    Tiago Marques


    On Fri, Jul 4, 2008 at 11:18 PM, Wayne Davison wrote:
    > On Fri, Jul 04, 2008 at 05:08:41PM -0400, Matt McCutchen wrote:
    >> Use --recursive and then exclude the stuff you don't want, e.g.,
    >> --exclude='/*/' to exclude all subdirectories.

    >
    > You can also use -d (--dirs) instead of -r (--recursive). That makes
    > rsync transfer just the contents of a specified "dir/" (with trailing
    > slash) without the contents of any subdirs. All modern rsyncs will
    > allow --delete* to be used with -d w/o -r (though older rsyncs will
    > ignore the --delete* option w/o -r). Matt's suggestion (the use of
    > excludes) will work with all rsync versions.
    >
    > ..wayne..
    >

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  2. Re: rsync --delete isn't deleting files

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

    ...wayne..
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  3. Re: rsync --delete isn't deleting files

    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

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkh3xbUACgkQC+xSYN/RlfvotwCfRWqMqOKNaH43jh+kx6i5RluI
    xN4AoJF2JL/aBhv8n234fs5BqF8ayUac
    =WnU+
    -----END PGP SIGNATURE-----


  4. Re: rsync --delete isn't deleting files

    Indeed, that worked great for me!
    Big thanks to both for your time.

    Tiago Marques


    On 7/11/08, Matt McCutchen 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
    >
    >

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  5. Re: rsync --delete isn't deleting files

    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 wrote:
    > Indeed, that worked great for me!
    > Big thanks to both for your time.
    >
    >
    > Tiago Marques
    >
    >
    >
    > On 7/11/08, Matt McCutchen 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
    > >
    > >

    >

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  6. Re: rsync --delete isn't deleting files

    On Sat, 2008-07-12 at 03:48 +0100, Tiago Marques wrote:
    > 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 ran your command with rsync 2.6.9 and -n (I didn't want to actually
    download the files) and didn't see any obvious problem. Please increase
    the verbosity to -vvv and post the output you get.

    Matt

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkh5Xx4ACgkQC+xSYN/Rlfv4bACeL2rlwuqnkSTygCAWDG3MK5Es
    9xEAn1hBKRZhu1VcM3GEeCy0D0XFN4aJ
    =39fc
    -----END PGP SIGNATURE-----


  7. Re: rsync --delete isn't deleting files

    Rsync 2.6.9 seems to think that the destination is already up to date.
    What do you expect it to do that it isn't doing? Update an existing
    file? (What are the size and mtime of that file and the corresponding
    source file?) Delete an extraneous file? (Note that you'll have to
    convert the exclude to a hide filter, --filter='H /*/', or use
    --delete-excluded if you want rsync to delete extraneous directories.)

    Matt

    On Sun, 2008-07-13 at 04:07 +0100, Tiago Marques wrote:
    > opening tcp connection to rsync.sabayonlinux.org port 873
    > connection via http proxy proxy.ua.pt port 3128
    > opening connection using --server --sender -vvvvltpr . SabayonLinux/
    > (Client) Protocol versions: remote=29, negotiated=29
    > note: iconv_open("UTF-8", "UTF-8") succeeded.
    > receiving file list ...
    > recv_file_name(.)
    > recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.iso)
    > recv_file_name(Sabayon-Linux-x86-3.5-Pod.iso.md5)
    > recv_file_name(SabayonLinux-x86_64-3.4.miniEdition.iso.md5)
    > recv_file_name(SabayonLinux-x86_64-3.4.miniEdition.iso)
    > recv_file_name(Sabayon-Linux-x86-3.5.iso.md5)
    > recv_file_name(Sabayon-Linux-x86_64-3.5.iso.md5)
    > recv_file_name(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2)
    > recv_file_name(Sabayon-Linux-x86-3.5.iso)
    > recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2)
    > recv_file_name(Sabayon-Linux-x86-3.5-Pod.iso)
    > recv_file_name(SabayonLinux-x86-3.4.miniEdition.iso)
    > recv_file_name(Sabayon-Linux-x86_64-3.5.iso)
    > recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.iso.md5)
    > recv_file_name(SabayonLinux-x86-3.4.miniEdition.iso.md5)
    > received 15 names
    > done
    > [receiver] i=0 0 ./ mode=040775 len=4096 flags=9
    > [receiver] i=1 1 Sabayon-Linux-x86-3.5-Pod.iso mode=0100644
    > len=727721984 flags=0
    > [receiver] i=2 1 Sabayon-Linux-x86-3.5-Pod.iso.md5 mode=0100644 len=64 flags=0
    > [receiver] i=3 1 Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2
    > mode=0100644 len=27708897 flags=0
    > [receiver] i=4 1 Sabayon-Linux-x86-3.5.iso mode=0100644 len=4195756032 flags=0
    > [receiver] i=5 1 Sabayon-Linux-x86-3.5.iso.md5 mode=0100644 len=60 flags=0
    > [receiver] i=6 1 Sabayon-Linux-x86_64-3.5-Pod.iso mode=0100644
    > len=734363648 flags=0
    > [receiver] i=7 1 Sabayon-Linux-x86_64-3.5-Pod.iso.md5 mode=0100644
    > len=67 flags=0
    > [receiver] i=8 1 Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2
    > mode=0100644 len=27708897 flags=0
    > [receiver] i=9 1 Sabayon-Linux-x86_64-3.5.iso mode=0100644
    > len=4418715648 flags=0
    > [receiver] i=10 1 Sabayon-Linux-x86_64-3.5.iso.md5 mode=0100644 len=63 flags=0
    > [receiver] i=11 1 SabayonLinux-x86-3.4.miniEdition.iso mode=0100644
    > len=731901952 flags=0
    > [receiver] i=12 1 SabayonLinux-x86-3.4.miniEdition.iso.md5
    > mode=0100644 len=71 flags=0
    > [receiver] i=13 1 SabayonLinux-x86_64-3.4.miniEdition.iso mode=0100644
    > len=728174592 flags=0
    > [receiver] i=14 1 SabayonLinux-x86_64-3.4.miniEdition.iso.md5
    > mode=0100644 len=74 flags=0
    > recv_file_list done
    > get_local_name count=15 /storage/mirrors/sabayon
    > recv_files(15) starting
    > generator starting pid=16295 count=15
    > deleting in .
    > delete_in_dir(.)
    > [generator] protecting directory entropy because of pattern /*/
    > [generator] make_file(Sabayon-Linux-x86-3.5-Pod.iso.md5,*,2)
    > [generator] make_file(Sabayon-Linux-x86-3.5-Pod.iso,*,2)
    > [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2,*,2)
    > [generator] make_file(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2,*,2)
    > [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.iso,*,2)
    > [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.iso.md5,*,2)
    > [generator] make_file(Sabayon-Linux-x86_64-3.5.iso,*,2)
    > [generator] make_file(Sabayon-Linux-x86-3.5.iso,*,2)
    > [generator] make_file(Sabayon-Linux-x86_64-3.5.iso.md5,*,2)
    > [generator] make_file(SabayonLinux-x86_64-3.4.miniEdition.iso,*,2)
    > [generator] make_file(SabayonLinux-x86_64-3.4.miniEdition.iso.md5,*,2)
    > [generator] make_file(Sabayon-Linux-x86-3.5.iso.md5,*,2)
    > [generator] make_file(SabayonLinux-x86-3.4.miniEdition.iso,*,2)
    > [generator] make_file(SabayonLinux-x86-3.4.miniEdition.iso.md5,*,2)
    > [generator] i=0 0 Sabayon-Linux-x86-3.5-Pod.iso mode=0100644
    > len=727721984 flags=0
    > [generator] i=1 0 Sabayon-Linux-x86-3.5-Pod.iso.md5 mode=0100644 len=64 flags=0
    > [generator] i=2 0 Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2
    > mode=0100644 len=27708897 flags=0
    > [generator] i=3 0 Sabayon-Linux-x86-3.5.iso mode=0100644 len=4195756032 flags=0
    > [generator] i=4 0 Sabayon-Linux-x86-3.5.iso.md5 mode=0100644 len=60flags=0
    > [generator] i=5 0 Sabayon-Linux-x86_64-3.5-Pod.iso mode=0100644
    > len=734363648 flags=0
    > [generator] i=6 0 Sabayon-Linux-x86_64-3.5-Pod.iso.md5 mode=0100644
    > len=67 flags=0
    > [generator] i=7 0 Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2
    > mode=0100644 len=27708897 flags=0
    > [generator] i=8 0 Sabayon-Linux-x86_64-3.5.iso mode=0100644
    > len=4418715648 flags=0
    > [generator] i=9 0 Sabayon-Linux-x86_64-3.5.iso.md5 mode=0100644 len=63 flags=0
    > [generator] i=10 0 SabayonLinux-x86-3.4.miniEdition.iso mode=0100644
    > len=731901952 flags=0
    > [generator] i=11 0 SabayonLinux-x86-3.4.miniEdition.iso.md5
    > mode=0100644 len=71 flags=0
    > [generator] i=12 0 SabayonLinux-x86_64-3.4.miniEdition.iso
    > mode=0100644 len=728174592 flags=0
    > [generator] i=13 0 SabayonLinux-x86_64-3.4.miniEdition.iso.md5
    > mode=0100644 len=74 flags=0
    > delta-transmission enabled
    > recv_generator(.,0)
    > recv_generator(Sabayon-Linux-x86-3.5-Pod.iso,1)
    > Sabayon-Linux-x86-3.5-Pod.iso is uptodate
    > recv_generator(Sabayon-Linux-x86-3.5-Pod.iso.md5,2)
    > Sabayon-Linux-x86-3.5-Pod.iso.md5 is uptodate
    > recv_generator(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2,3)
    > Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2 is uptodate
    > recv_generator(Sabayon-Linux-x86-3.5.iso,4)
    > Sabayon-Linux-x86-3.5.iso is uptodate
    > recv_generator(Sabayon-Linux-x86-3.5.iso.md5,5)
    > Sabayon-Linux-x86-3.5.iso.md5 is uptodate
    > recv_generator(Sabayon-Linux-x86_64-3.5-Pod.iso,6)
    > Sabayon-Linux-x86_64-3.5-Pod.iso is uptodate
    > recv_generator(Sabayon-Linux-x86_64-3.5-Pod.iso.md5,7)
    > Sabayon-Linux-x86_64-3.5-Pod.iso.md5 is uptodate
    > recv_generator(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2,8)
    > Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2 is uptodate
    > recv_generator(Sabayon-Linux-x86_64-3.5.iso,9)
    > Sabayon-Linux-x86_64-3.5.iso is uptodate
    > recv_generator(Sabayon-Linux-x86_64-3.5.iso.md5,10)
    > Sabayon-Linux-x86_64-3.5.iso.md5 is uptodate
    > recv_generator(SabayonLinux-x86-3.4.miniEdition.iso,11)
    > SabayonLinux-x86-3.4.miniEdition.iso is uptodate
    > recv_generator(SabayonLinux-x86-3.4.miniEdition.iso.md5,12)
    > SabayonLinux-x86-3.4.miniEdition.iso.md5 is uptodate
    > recv_generator(SabayonLinux-x86_64-3.4.miniEdition.iso,13)
    > SabayonLinux-x86_64-3.4.miniEdition.iso is uptodate
    > recv_generator(SabayonLinux-x86_64-3.4.miniEdition.iso.md5,14)
    > SabayonLinux-x86_64-3.4.miniEdition.iso.md5 is uptodate
    > generate_files phase=1
    > recv_files(.)
    > recv_files(Sabayon-Linux-x86-3.5-Pod.iso)
    > recv_files(Sabayon-Linux-x86-3.5-Pod.iso.md5)
    > recv_files(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2)
    > recv_files(Sabayon-Linux-x86-3.5.iso)
    > recv_files(Sabayon-Linux-x86-3.5.iso.md5)
    > recv_files(Sabayon-Linux-x86_64-3.5-Pod.iso)
    > recv_files(Sabayon-Linux-x86_64-3.5-Pod.iso.md5)
    > recv_files(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2)
    > recv_files(Sabayon-Linux-x86_64-3.5.iso)
    > recv_files(Sabayon-Linux-x86_64-3.5.iso.md5)
    > recv_files(SabayonLinux-x86-3.4.miniEdition.iso)
    > recv_files(SabayonLinux-x86-3.4.miniEdition.iso.md5)
    > recv_files(SabayonLinux-x86_64-3.4.miniEdition.iso)
    > recv_files(SabayonLinux-x86_64-3.4.miniEdition.iso.md5)
    > recv_files phase=1
    > generate_files phase=2
    > recv_files phase=2
    > generate_files phase=3
    > recv_files finished
    > recv_generator(.,0)
    > generate_files finished
    >
    > sent 185 bytes received 608 bytes 1586.00 bytes/sec
    > total size is 11592052049 speedup is 14617972.32
    > _exit_cleanup(code=0, file=main.c, line=1385): entered
    > _exit_cleanup(code=0, file=main.c, line=1385): about to call exit(0)
    >
    >
    > -------------------------------------------------------------------------------------------------------------------------------
    >
    > Strange that everything is working fine on your end.
    >
    > Best regards,
    > Tiago Marques
    >
    >
    >
    > On Sun, Jul 13, 2008 at 2:49 AM, Matt McCutchen wrote:
    > > On Sat, 2008-07-12 at 03:48 +0100, Tiago Marques wrote:
    > >> 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 ran your command with rsync 2.6.9 and -n (I didn't want to actually
    > > download the files) and didn't see any obvious problem. Please increase
    > > the verbosity to -vvv and post the output you get.
    > >
    > > Matt
    > >


    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkh6OtoACgkQC+xSYN/RlfsOMACgjuevayf4sul4Z/w6yPlbmx4z
    TN0AoKxWVerUHeQFRMprJ0pDtz59ebLv
    =Yj8q
    -----END PGP SIGNATURE-----


  8. Re: rsync --delete isn't deleting files

    Thanks! It worked, --delete-excluded was all that was missing.
    I really think this should be the implied behavior and would like to
    see it as default, if there really isn't a good reason for it being
    this way.
    Best regards,
    Tiago Marques



    On Sun, Jul 13, 2008 at 6:26 PM, Matt McCutchen wrote:
    > Rsync 2.6.9 seems to think that the destination is already up to date.
    > What do you expect it to do that it isn't doing? Update an existing
    > file? (What are the size and mtime of that file and the corresponding
    > source file?) Delete an extraneous file? (Note that you'll have to
    > convert the exclude to a hide filter, --filter='H /*/', or use
    > --delete-excluded if you want rsync to delete extraneous directories.)
    >
    > Matt
    >
    > On Sun, 2008-07-13 at 04:07 +0100, Tiago Marques wrote:
    >> opening tcp connection to rsync.sabayonlinux.org port 873
    >> connection via http proxy proxy.ua.pt port 3128
    >> opening connection using --server --sender -vvvvltpr . SabayonLinux/
    >> (Client) Protocol versions: remote=29, negotiated=29
    >> note: iconv_open("UTF-8", "UTF-8") succeeded.
    >> receiving file list ...
    >> recv_file_name(.)
    >> recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.iso)
    >> recv_file_name(Sabayon-Linux-x86-3.5-Pod.iso.md5)
    >> recv_file_name(SabayonLinux-x86_64-3.4.miniEdition.iso.md5)
    >> recv_file_name(SabayonLinux-x86_64-3.4.miniEdition.iso)
    >> recv_file_name(Sabayon-Linux-x86-3.5.iso.md5)
    >> recv_file_name(Sabayon-Linux-x86_64-3.5.iso.md5)
    >> recv_file_name(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2)
    >> recv_file_name(Sabayon-Linux-x86-3.5.iso)
    >> recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2)
    >> recv_file_name(Sabayon-Linux-x86-3.5-Pod.iso)
    >> recv_file_name(SabayonLinux-x86-3.4.miniEdition.iso)
    >> recv_file_name(Sabayon-Linux-x86_64-3.5.iso)
    >> recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.iso.md5)
    >> recv_file_name(SabayonLinux-x86-3.4.miniEdition.iso.md5)
    >> received 15 names
    >> done
    >> [receiver] i=0 0 ./ mode=040775 len=4096 flags=9
    >> [receiver] i=1 1 Sabayon-Linux-x86-3.5-Pod.iso mode=0100644
    >> len=727721984 flags=0
    >> [receiver] i=2 1 Sabayon-Linux-x86-3.5-Pod.iso.md5 mode=0100644 len=64 flags=0
    >> [receiver] i=3 1 Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2
    >> mode=0100644 len=27708897 flags=0
    >> [receiver] i=4 1 Sabayon-Linux-x86-3.5.iso mode=0100644 len=4195756032 flags=0
    >> [receiver] i=5 1 Sabayon-Linux-x86-3.5.iso.md5 mode=0100644 len=60 flags=0
    >> [receiver] i=6 1 Sabayon-Linux-x86_64-3.5-Pod.iso mode=0100644
    >> len=734363648 flags=0
    >> [receiver] i=7 1 Sabayon-Linux-x86_64-3.5-Pod.iso.md5 mode=0100644
    >> len=67 flags=0
    >> [receiver] i=8 1 Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2
    >> mode=0100644 len=27708897 flags=0
    >> [receiver] i=9 1 Sabayon-Linux-x86_64-3.5.iso mode=0100644
    >> len=4418715648 flags=0
    >> [receiver] i=10 1 Sabayon-Linux-x86_64-3.5.iso.md5 mode=0100644 len=63 flags=0
    >> [receiver] i=11 1 SabayonLinux-x86-3.4.miniEdition.iso mode=0100644
    >> len=731901952 flags=0
    >> [receiver] i=12 1 SabayonLinux-x86-3.4.miniEdition.iso.md5
    >> mode=0100644 len=71 flags=0
    >> [receiver] i=13 1 SabayonLinux-x86_64-3.4.miniEdition.iso mode=0100644
    >> len=728174592 flags=0
    >> [receiver] i=14 1 SabayonLinux-x86_64-3.4.miniEdition.iso.md5
    >> mode=0100644 len=74 flags=0
    >> recv_file_list done
    >> get_local_name count=15 /storage/mirrors/sabayon
    >> recv_files(15) starting
    >> generator starting pid=16295 count=15
    >> deleting in .
    >> delete_in_dir(.)
    >> [generator] protecting directory entropy because of pattern /*/
    >> [generator] make_file(Sabayon-Linux-x86-3.5-Pod.iso.md5,*,2)
    >> [generator] make_file(Sabayon-Linux-x86-3.5-Pod.iso,*,2)
    >> [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2,*,2)
    >> [generator] make_file(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2,*,2)
    >> [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.iso,*,2)
    >> [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.iso.md5,*,2)
    >> [generator] make_file(Sabayon-Linux-x86_64-3.5.iso,*,2)
    >> [generator] make_file(Sabayon-Linux-x86-3.5.iso,*,2)
    >> [generator] make_file(Sabayon-Linux-x86_64-3.5.iso.md5,*,2)
    >> [generator] make_file(SabayonLinux-x86_64-3.4.miniEdition.iso,*,2)
    >> [generator] make_file(SabayonLinux-x86_64-3.4.miniEdition.iso.md5,*,2)
    >> [generator] make_file(Sabayon-Linux-x86-3.5.iso.md5,*,2)
    >> [generator] make_file(SabayonLinux-x86-3.4.miniEdition.iso,*,2)
    >> [generator] make_file(SabayonLinux-x86-3.4.miniEdition.iso.md5,*,2)
    >> [generator] i=0 0 Sabayon-Linux-x86-3.5-Pod.iso mode=0100644
    >> len=727721984 flags=0
    >> [generator] i=1 0 Sabayon-Linux-x86-3.5-Pod.iso.md5 mode=0100644 len=64 flags=0
    >> [generator] i=2 0 Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2
    >> mode=0100644 len=27708897 flags=0
    >> [generator] i=3 0 Sabayon-Linux-x86-3.5.iso mode=0100644 len=4195756032 flags=0
    >> [generator] i=4 0 Sabayon-Linux-x86-3.5.iso.md5 mode=0100644 len=60 flags=0
    >> [generator] i=5 0 Sabayon-Linux-x86_64-3.5-Pod.iso mode=0100644
    >> len=734363648 flags=0
    >> [generator] i=6 0 Sabayon-Linux-x86_64-3.5-Pod.iso.md5 mode=0100644
    >> len=67 flags=0
    >> [generator] i=7 0 Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2
    >> mode=0100644 len=27708897 flags=0
    >> [generator] i=8 0 Sabayon-Linux-x86_64-3.5.iso mode=0100644
    >> len=4418715648 flags=0
    >> [generator] i=9 0 Sabayon-Linux-x86_64-3.5.iso.md5 mode=0100644 len=63 flags=0
    >> [generator] i=10 0 SabayonLinux-x86-3.4.miniEdition.iso mode=0100644
    >> len=731901952 flags=0
    >> [generator] i=11 0 SabayonLinux-x86-3.4.miniEdition.iso.md5
    >> mode=0100644 len=71 flags=0
    >> [generator] i=12 0 SabayonLinux-x86_64-3.4.miniEdition.iso
    >> mode=0100644 len=728174592 flags=0
    >> [generator] i=13 0 SabayonLinux-x86_64-3.4.miniEdition.iso.md5
    >> mode=0100644 len=74 flags=0
    >> delta-transmission enabled
    >> recv_generator(.,0)
    >> recv_generator(Sabayon-Linux-x86-3.5-Pod.iso,1)
    >> Sabayon-Linux-x86-3.5-Pod.iso is uptodate
    >> recv_generator(Sabayon-Linux-x86-3.5-Pod.iso.md5,2)
    >> Sabayon-Linux-x86-3.5-Pod.iso.md5 is uptodate
    >> recv_generator(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2,3)
    >> Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2 is uptodate
    >> recv_generator(Sabayon-Linux-x86-3.5.iso,4)
    >> Sabayon-Linux-x86-3.5.iso is uptodate
    >> recv_generator(Sabayon-Linux-x86-3.5.iso.md5,5)
    >> Sabayon-Linux-x86-3.5.iso.md5 is uptodate
    >> recv_generator(Sabayon-Linux-x86_64-3.5-Pod.iso,6)
    >> Sabayon-Linux-x86_64-3.5-Pod.iso is uptodate
    >> recv_generator(Sabayon-Linux-x86_64-3.5-Pod.iso.md5,7)
    >> Sabayon-Linux-x86_64-3.5-Pod.iso.md5 is uptodate
    >> recv_generator(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2,8)
    >> Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2 is uptodate
    >> recv_generator(Sabayon-Linux-x86_64-3.5.iso,9)
    >> Sabayon-Linux-x86_64-3.5.iso is uptodate
    >> recv_generator(Sabayon-Linux-x86_64-3.5.iso.md5,10)
    >> Sabayon-Linux-x86_64-3.5.iso.md5 is uptodate
    >> recv_generator(SabayonLinux-x86-3.4.miniEdition.iso,11)
    >> SabayonLinux-x86-3.4.miniEdition.iso is uptodate
    >> recv_generator(SabayonLinux-x86-3.4.miniEdition.iso.md5,12)
    >> SabayonLinux-x86-3.4.miniEdition.iso.md5 is uptodate
    >> recv_generator(SabayonLinux-x86_64-3.4.miniEdition.iso,13)
    >> SabayonLinux-x86_64-3.4.miniEdition.iso is uptodate
    >> recv_generator(SabayonLinux-x86_64-3.4.miniEdition.iso.md5,14)
    >> SabayonLinux-x86_64-3.4.miniEdition.iso.md5 is uptodate
    >> generate_files phase=1
    >> recv_files(.)
    >> recv_files(Sabayon-Linux-x86-3.5-Pod.iso)
    >> recv_files(Sabayon-Linux-x86-3.5-Pod.iso.md5)
    >> recv_files(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2)
    >> recv_files(Sabayon-Linux-x86-3.5.iso)
    >> recv_files(Sabayon-Linux-x86-3.5.iso.md5)
    >> recv_files(Sabayon-Linux-x86_64-3.5-Pod.iso)
    >> recv_files(Sabayon-Linux-x86_64-3.5-Pod.iso.md5)
    >> recv_files(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2)
    >> recv_files(Sabayon-Linux-x86_64-3.5.iso)
    >> recv_files(Sabayon-Linux-x86_64-3.5.iso.md5)
    >> recv_files(SabayonLinux-x86-3.4.miniEdition.iso)
    >> recv_files(SabayonLinux-x86-3.4.miniEdition.iso.md5)
    >> recv_files(SabayonLinux-x86_64-3.4.miniEdition.iso)
    >> recv_files(SabayonLinux-x86_64-3.4.miniEdition.iso.md5)
    >> recv_files phase=1
    >> generate_files phase=2
    >> recv_files phase=2
    >> generate_files phase=3
    >> recv_files finished
    >> recv_generator(.,0)
    >> generate_files finished
    >>
    >> sent 185 bytes received 608 bytes 1586.00 bytes/sec
    >> total size is 11592052049 speedup is 14617972.32
    >> _exit_cleanup(code=0, file=main.c, line=1385): entered
    >> _exit_cleanup(code=0, file=main.c, line=1385): about to call exit(0)
    >>
    >>
    >> -------------------------------------------------------------------------------------------------------------------------------
    >>
    >> Strange that everything is working fine on your end.
    >>
    >> Best regards,
    >> Tiago Marques
    >>
    >>
    >>
    >> On Sun, Jul 13, 2008 at 2:49 AM, Matt McCutchen wrote:
    >> > On Sat, 2008-07-12 at 03:48 +0100, Tiago Marques wrote:
    >> >> 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 ran your command with rsync 2.6.9 and -n (I didn't want to actually
    >> > download the files) and didn't see any obvious problem. Please increase
    >> > the verbosity to -vvv and post the output you get.
    >> >
    >> > Matt
    >> >

    >

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  9. Re: rsync --delete isn't deleting files

    On Sun, 2008-08-10 at 23:04 +0100, Tiago Marques wrote:
    > It worked, --delete-excluded was all that was missing.
    > I really think this should be the implied behavior and would like to
    > see it as default, if there really isn't a good reason for it being
    > this way.


    The current behavior is useful if files matching a given pattern simply
    should not be processed at all. E.g., one could use --exclude='*.o' to
    copy source files from one build tree to another without affecting any
    object files so that the destination can then do its own incremental
    rebuilding. I imagine that before the full --filter support was added
    in rsync 2.6.4, --exclude without --delete-excluded was the only way to
    protect destination files from deletion.

    Matt

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkifaLwACgkQC+xSYN/Rlfsy6wCfbm535hMLq1H2hkijFPD7AUsT
    7ZUAnjW2P8M0LGZ2J+fNXDN3gGGZ77+6
    =xJKr
    -----END PGP SIGNATURE-----


  10. Re: rsync --delete isn't deleting files

    I see, you're right
    Is there anything useful that can be donated to the rsync developers?
    Keep up the great work.
    Best regards,
    Tiago Marques



    On Sun, Aug 10, 2008 at 11:16 PM, Matt McCutchen wrote:
    > On Sun, 2008-08-10 at 23:04 +0100, Tiago Marques wrote:
    >> It worked, --delete-excluded was all that was missing.
    >> I really think this should be the implied behavior and would like to
    >> see it as default, if there really isn't a good reason for it being
    >> this way.

    >
    > The current behavior is useful if files matching a given pattern simply
    > should not be processed at all. E.g., one could use --exclude='*.o' to
    > copy source files from one build tree to another without affecting any
    > object files so that the destination can then do its own incremental
    > rebuilding. I imagine that before the full --filter support was added
    > in rsync 2.6.4, --exclude without --delete-excluded was the only way to
    > protect destination files from deletion.
    >
    > Matt
    >

    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


+ Reply to Thread