#548897 unison: Please optimise from copy+delete to rename

#548897#5
Date:
2009-09-29 13:47:25 UTC
From:
To:
I renamed a directory containing a large number of large photos on one
side of a mirror, and used unison to move that across.

While the remote side did correctly optimise this as a local copy
operation on its end, removing the need to copy GBs worth of data over
the network, it did admittedly copy all the files on its disk, then
delete the old ones.

Perhaps an optimiser step could come in somewhere, converting operations
that are "make a single copy; then delete original" into just "rename
file".

#548897#10
Date:
2012-12-19 08:23:21 UTC
From:
To:
Hello,

Very disappointing to see this still not fixed even after 3 years.

Maybe there's a chance to at least change the copy to "cp --reflink" (so it
completes instantly on supporting filesystems)?

#548897#15
Date:
2012-12-19 10:06:51 UTC
From:
To:
Le 2012-12-19 09:23, Roman Mamedov a écrit :

Very disappointing to see that you didn't write a patch even after 3
years
*and* get it included upstream.

Cheers.