Try --fuzzy:
-y, --fuzzy
This option tells rsync that it should look for a basis file for any
destination file that is missing. The current algorithm looks in
the same directory as the destination file for either a file that has
an identical size and modified-time, or a simi? larly-named file.
On Tue, Sep 03, 2013 at 02:52:55PM +0200, Jochen Hayek
wrote:> Hello,
>
> because rsync has been working for me quite well for quite a while,
> I started imagining an optimization.
>
> If I locally rename a *big* file,
> next time my "rsync -vaz --delete-after" will copy the file using
> the new name and remove it using its old name.
> I don't really mind, if this happens on my LAN,
> but I do suffer, if this happens over my mobile phone connection.
>
> I would actually prefer to see the file getting *renamed* remotely.
>
> Can rsync do this?
>
> Is there another tool, that can do the job?