Renamed files and directories
wayned at samba.org
Sat Feb 21 16:29:36 GMT 2009
On Mon, Feb 16, 2009 at 10:14:25AM +0100, N.J. van der Horn (Nico) wrote:
> What is the current status of both rename-patches ?
> Are there alternative measures ?
I'm not thrilled with how the rename patches work, especially since they
disable incremental recursion. As such, I'm hoping to change how they
work before considering adding renaming handling to a released version.
One option is making further enhancements to the db.diff patch that
would let rsync leverage DB info on where files are and what their
checksums are. If the DB were kept updated via something like inotify,
it would be an especially nice way to quickly find a file with the
right size+mtime+checksum (or user-selected attributes). For those
without inotify, an upgrade script could be run, perhaps right before
the transfer. Or perhaps rsync could leverage one of the existing
file-monitoring packages -- does something like beagle keep track of
the file's checksum?
More information about the rsync