Skip to content

Instantly share code, notes, and snippets.

@burak
Created May 20, 2009 04:13
Show Gist options
  • Save burak/114607 to your computer and use it in GitHub Desktop.
Save burak/114607 to your computer and use it in GitHub Desktop.
perl -e "print q{a} x (1024**2*4)" > junk.txt && "C:\Program Files\7-Zip\7z.exe" -mx9 -t7z a junk.7z junk.txt 1>nul && perl -MFile::stat -wle "printf qq{txt: %.2f MB\n7z : %d byte\n}, stat(q{junk.txt})->size/1024**2, stat(q{junk.7z})->size"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment