<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello<br><br>I was just thinking about a killer feature for rsync, the ability to detect files name changes or move within the source and destination.<br>At this time rsync has to re-transfer a file if it has been renamed or moved inside a subfolder, with a heavy waste of ressources and bandwidth.<br><br>It could be smarter :<br>with a --smart switch, rsync could take a hash of every file within the source and destination BEFORE TRANSFERING, <br>then for existing (matching hash) files, it only needs to alter metadata (name, location, chmod etc...) saving plenty of bandwidth<br><br>Okay destination has to handle this, I expect the rsync daemon has to handle server side file hashing.<br><br>We would have a clever tool to replicate data who only been reorganised with no changes on the files themselves.<br>No need to resync the whole structure if you added a dir in the path, or someone renamed this particular heavy file<br><br>this may save big data on automatic backups, ftp mirrors etc...<br><br><br>What do you think about it?<br><br>--smart ?<br>                                           </div></body>
</html>