Skip to content

Instantly share code, notes, and snippets.

@pinpox
Created June 8, 2017 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pinpox/4fd7b713afc133ca4d83b7b22ec7f320 to your computer and use it in GitHub Desktop.
Save pinpox/4fd7b713afc133ca4d83b7b22ec7f320 to your computer and use it in GitHub Desktop.
~/testdir
❯ fallocate -l 1G bigfile
~/testdir
❯ time tar cfJ bigfile.tar.xz bigfile ⏎
tar cfJ bigfile.tar.xz bigfile 68.69s user 4.17s system 104% cpu 1:09.57 total
~/testdir
❯ rm bigfile.tar.xz
rm: remove regular file 'bigfile.tar.xz'? y
~/testdir
❯ time tar -I pxz -cf bigfile.tar.xz bigfile ⏎
tar -I pxz -cf bigfile.tar.xz bigfile 86.29s user 1.39s system 497% cpu 17.637 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment