keeping folders in sync *sparingly*

Justin T Pryzby justinp at norchemlab.com
Tue Sep 3 18:55:49 CEST 2013


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?


More information about the rsync mailing list