Creating Empty Files of Any Size
Sun Jan 14, 2007 · 36 words

This is again one of those cool things that you could never do with OS 9 or older:

> dd count=`echo $((1024*1024/512*sizeinmegs))` if=/dev/zero of=myfile.zeros

Perfect for testing drives, networks or file transfer apps. Update:

man mkfile

back · essays · credits ·