Skip to content

Instantly share code, notes, and snippets.

@GINK03
Last active February 14, 2019 13:13
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GINK03/70618fb14221e7c4d515dc497653faeb to your computer and use it in GitHub Desktop.
Save GINK03/70618fb14221e7c4d515dc497653faeb to your computer and use it in GitHub Desktop.
Linuxで高速に、大量のファイルをtar.gzに固める
$ sudo apt install pigz
$ tar -I pigz -cf ${TARGET}.tar.gz ${SOURCE}

コア数の数だけスレッドが立つが、たいてい、ディスクが間に合ってないのでSSD、nvmeなどを使う

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment