> There is a feature I would like, and I notice that even with -c this
> does not happen, but I think it could based on the way rsync works.
> What I'd like to have is when a whole file is moved from one directory
> to another, rsync would detect a new file with the same checksum as an
> existing (potentially to be deleted) file, and copy, move, or link, as
> appropriate.  In theory this should apply to anything anywhere in the
> whole file tree being processed.

See the note I posted on May 17th, title is "Storing updates" and it
includes a tcl script i run on rsync -n output to spot obvious renames
of files and gzip'ing + takes evasive action.  

It would be excellent if rsync could do this sort of thing for me.  The
basic principle is that if you are using --delete then when a file is
missing a good place to look is in the list of deletions.

I spoke to Rusty Russell last November when he was visiting Dublin and
he mentioned there had been some thinking about an "rsync 3".  One
feature being considered was allowing users to supply arbitrary rules
for what to do when a file is missing, based on file suffix etc.  Did
anyone follow up these ideas?

John


Reply via email to