The Tar Cheatsheet thumbnail

The Tar Cheatsheet

I don’t know why, but I always forget the tar option for xz compressed archives is the upper J. If you’re like me, this downloadable infography will be of great help !

Thank you for having registered with Yes, I Know IT !
You will receive your link to the free PDF in few seconds. Watch your mailbox !
If you have any issue, don't hesitate to contact directly sylvain@yesik.it

I’ve drawn that railroad-style infographic so you can have all in one page the basic options to use the tar command.

Just start at the top of the page with the tar command, and follow the tracks, choosing the option you need at each intersection. For example:

  • To extract (all files of) the Tar archive myarchive.tar.xz you will write:

    tar xJf myarchive.tar.xz
  • To create a new uncompressed Tar archive of your Documents forlder, you will write:

    tar cf myarchive.tar Documents
  • To test if the gzip compressed archive myarchive.tgz contains a file named Documents/myfile, you will write:

    tar tzf myarchive.tgz Documents/myfile

Click the button bellow to obtain a link to the high quality PDF so you can access this cheatsheet from all your devices freely.

Share