I found a funy way to make a small gzip file, but after uncompressed it will be huge. Sometime this trick will be useful. $ dd if=/dev/zero bs=1M count=10240 | gzip > 10G.gzip $ du -sh 10G.gzip $ 10M 10G.gzip