Linux/Sparse files

From Wiki

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