linux - Why does't rsync use delta-transfer for local files? - Super User
superuser.com·1d
Zero-Copy APIs
Preview
Report Post

By default rsync creates a copy of the file at the destination and then atomically replaces the original with the new copy. This is done for safety reasons. What you’re looking for is the --inplace option, which will cause rsync to modify only the portions of the destination file which have changed relative to the source.

For the O.P’s use-case, I recommend turning off pre-allocation as well, so that a sparse copy can be synced, which will be much faster. For downloads, don’t worry about fragmentation unless you’re using a very ancient filesystem like VFAT. Media files in particular are not read at the maximum performance of the storage media, so defragmenting them is a wasted effort.

To copy your downloads directory sparsely to the destination volume, I recommend these flag…

Similar Posts

Loading similar posts...