rsync icon indicating copy to clipboard operation
rsync copied to clipboard

Feature request: support skipping holes & preserve sparseness when copying sparse files

Open adrien1018 opened this issue 3 years ago • 2 comments

Currently when copying sparse files, rsync currently reads over all holes and transfers all zero bytes. This is extremely inefficient when transferring large sparse files (e.g. raw VM images), and the sparseness of the original file cannot be preserved (because it does not distinguish an all-zero chunk from a hole).

I'd like to suggest adding an option for (1) skipping reading / transferring holes and (2) preserve sparseness of the original file whenever possible, just like the -S option of tar.

adrien1018 avatar May 13 '22 10:05 adrien1018

This is a related feature request from the old bugtracker (just FYI).

drws avatar Jul 26 '22 10:07 drws