Remember once for all:

  • Create tar archive: tar -zcf archive.tag.gz folder
  • Extract tar archive: tar -zxf archive.tar.gz

@trystuff You misspelled tar.

Here left me help you out

There are more of course, and I could not even be bothered to start on extraction. 😜

@trystuff Ok I was bored, here are a few hundred more 😜

https://gist.github.com/ruario/ac0c6a15369853df2c698aa6fe595135

@ruario oh thank you, how kind. Now I have 100+ command lines to remember :D
@trystuff If you follow the link it is over 1k variations now and that is not even all of them. Tar is pretty flexible. 😉