I'm trying to copy a sparse file in C++. Unfortunately, std::experimental::copy_file
ignores the sparsity (at least in GCC 7.5.0) and turns my 16M file into a 52G copy.
What's the easiest way to copy a sparse file while preserving the sparsity?
I'm trying to copy a sparse file in C++. Unfortunately, std::experimental::copy_file
ignores the sparsity (at least in GCC 7.5.0) and turns my 16M file into a 52G copy.
What's the easiest way to copy a sparse file while preserving the sparsity?