Hi all When rsync replicate one file to remote side, will the extended attributes be copied as well? Thanks, Ming
On Wed, 2007-05-09 at 14:51 -0400, Ming Zhang wrote:> Hi all > > When rsync replicate one file to remote side, will the extended > attributes be copied as well? Thanks,sorry that i should do more check. the rsync man page on site does not have this while fc6 rsync man page has -X support. i guess there are some extra patches floating around. sorry for the noise.> > Ming
On 5/9/07, Ming Zhang <blackmagic02881@gmail.com> wrote:> sorry that i should do more check. the rsync man page on site does not > have this while fc6 rsync man page has -X support. i guess there are > some extra patches floating around.That extra patch is floating at "patches/xattrs.diff" in rsync source distributions through version 2.6.9. The support for preserving extended attributes has been merged into the main rsync in CVS, which will eventually be released as rsync 3.0.0. Matt
On Wed, 2007-05-09 at 16:07 -0400, Matt McCutchen wrote:> On 5/9/07, Ming Zhang <blackmagic02881@gmail.com> wrote: > > sorry that i should do more check. the rsync man page on site does not > > have this while fc6 rsync man page has -X support. i guess there are > > some extra patches floating around. > > That extra patch is floating at "patches/xattrs.diff" in rsync source > distributions through version 2.6.9. The support for preserving > extended attributes has been merged into the main rsync in CVS, which > will eventually be released as rsync 3.0.0.ic. thx for the info. side question, if i know one file only have EA changed, thus mtime is updated, can i force the rsync to do EA update only? regular rsync run will do checksum stuff if mtime changed, and find out all content are same which generate too many computation overheads.> > Matt