Last active
May 22, 2020 14:06
-
-
Save patrickgill/cfb91a94cd422702c6eceb11ec29281f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#mkfile on macOS. creates sparse files if possible | |
#mkfile -n size[b|k|m|g] filename | |
#1GB sparse file | |
mkfile -n 1g newfile | |
#dd | |
#1GB file | |
dd if=/dev/zero of=newfile bs=1024 count=1000*1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment