How to create a large empty file in osx?
August 16, 2008 6:16 AM
Subscribe
How do I create a very large (+10gb) empty file in OSX?
I've found some instructions on doing this through disk partitioning, but the external hard drive i have accessible right now has stuff on it - and i don't want to accidentally erase it all... i just want a large file full of zeroes.
posted by greggish to computers & internet (12 comments total)
2 users marked this as a favorite
dd if=/dev/zero of=<filename> bs=1024 count=10485760
I believe that os x has dd installed, and had as a /dev/zero.
posted by claudius at 6:22 AM on August 16, 2008