I often make a lot of little cheat sheets that I often use as a quick reminder of the tools I use often enough that they can find there way into my daily workflow, but sometimes I need a little refresher.
Today’s refresher: tar
I often make a lot of little cheat sheets that I often use as a quick reminder of the tools I use often enough that they can find there way into my daily workflow, but sometimes I need a little refresher.
Today’s refresher: tar
Mmmpf,
tar czf archive.tar.xz directory
is Just Wrong to me. The “z” means gzip! Use “J” if you meant to use xz compression!Or use
tar caf
to have it autodetect the type based on the filename.