Is there option for deleting xattr-s same as --delete for files, because it seems deletion of xattr don't sync, however it is synced when data of file change, see example below. Maybe this is a bug or maybe this is ok? System gentoo attr-2.4.32, rsync form today cvs. -- Regards Stanislaw Gruszka stasiu@sg /mnt/hda5/export $ echo "data" > file stasiu@sg /mnt/hda5/export $ attr -s attr1 -V val1 file Attribute "attr1" set to a 4 byte value for file: val1 stasiu@sg /mnt/hda5/export $ attr -s attr2 -V val2 file Attribute "attr2" set to a 4 byte value for file: val2 stasiu@sg /mnt/hda5/export $ rsync -av -X --delete 127.0.0.1::rsync-export /mnt/hda5/copy receiving incremental file list ./ file sent 100 bytes received 184 bytes 568.00 bytes/sec total size is 5 speedup is 0.02 stasiu@sg /mnt/hda5/export $ attr -l /mnt/hda5/copy/file Attribute "attr1" has a 4 byte value for /mnt/hda5/copy/file Attribute "attr2" has a 4 byte value for /mnt/hda5/copy/file stasiu@sg /mnt/hda5/export $ attr -r attr1 file stasiu@sg /mnt/hda5/export $ attr -l file Attribute "attr2" has a 4 byte value for file stasiu@sg /mnt/hda5/export $ rsync -av -X --delete 127.0.0.1::rsync-export /mnt/hda5/copy receiving incremental file list sent 78 bytes received 110 bytes 376.00 bytes/sec total size is 5 speedup is 0.03 stasiu@sg /mnt/hda5/export $ attr -l /mnt/hda5/copy/file Attribute "attr1" has a 4 byte value for /mnt/hda5/copy/file Attribute "attr2" has a 4 byte value for /mnt/hda5/copy/file stasiu@sg /mnt/hda5/export $ echo dane2 >> file stasiu@sg /mnt/hda5/export $ rsync -av -X --delete 127.0.0.1::rsync-export /mnt/hda5/copy receiving incremental file list file sent 103 bytes received 168 bytes 180.67 bytes/sec total size is 11 speedup is 0.04 stasiu@sg /mnt/hda5/export $ attr -l /mnt/hda5/copy/file Attribute "attr2" has a 4 byte value for /mnt/hda5/copy/file ---------------------------------------------------- Wielkanocna oferta - ?pisz 2 noce p?acisz za 1 - Kliknij: http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd83.html&sid=1039
On Mon, Mar 05, 2007 at 10:25:37AM +0100, Stanis?aw Gruszka wrote:> Is there option for deleting xattr-s same as --delete for files, > because it seems deletion of xattr don't sync, however it is synced > when data of file change, see example below.This is noted in the xattrs patch as one of the deficiencies in the current xattr patch. It will be fixed prior to xattrs being accepted into the main rsync release. ..wayne..