Moving files revisited

Wayne Davison wayned at
Wed Feb 6 11:15:07 EST 2002

On Thu, 31 Jan 2002, Wayne Davison wrote:
> As for the move-files option, I was thinking that I could write a perl
> script that would parse the output of rsync -v and delete files that
> were successfully transferred by rsync when they show up in the verbose
> output.

I've been meaning to comment on this idea I had.  This perl script idea
only works when running rsync from the sending system, not when pulling
files, so I'd still prefer to have a real --move-files option.

Anyone have any comments on my --move-files implementation?  The current
patch sends a message back from the receiver to the sender, letting it
know when it is OK to delete a file.  An alternate implementation might
be to add a delete pass to the sender to delete all the files en-mass
after the whole process completes successfully.  I personally prefer the
more incremental approach (especially for moving larger numbers of


More information about the rsync mailing list