Skip to content

Instantly share code, notes, and snippets.

@johnryan1982
Created September 19, 2016 11:27
Show Gist options
  • Save johnryan1982/01970fa1b02ceed4ecdeb03532527d8b to your computer and use it in GitHub Desktop.
Save johnryan1982/01970fa1b02ceed4ecdeb03532527d8b to your computer and use it in GitHub Desktop.
create temporary empty files on multiple systems
/// Linux
fallocate -l 10G temp_10GB_file
/// Windows
fsutil file createnew temp_10GB_file 10000000000
/// Mac OS
mkfile -n 10g temp_10GB_file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment