# compress file in place ``` dd if= iflag=fullblock bs=2M | xz | dd of= conv=notrunc truncate -s ``` last line of dd output ( bytes)