Linux/Sparse files

From Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

check

du -h *
du -h --apparent-size *


Make existing files sparse

fallocate -d file


Copy sparse file

cp --sparse=always inputfile outputfile


Tar sparse file

-S / --sparse
tar -Scf file.tar inputfile

Links