Compress or decompress tar.xz on Linux Mint

xz is a loss-less compression format similar to lzma. When you come across tar.xz files either use the -J option for decompression or no option at all (tar is clever enought to spot the compression type).

Compress to tar.xz

1

tar -cfJ your_archive.tar.xz /your_directory

Uncompress tar.xz

20 years of coding and working as software engineer but I am still eager to learn more. I am very passionate when it comes to open source, Linux and Java. But I made my peace with Windows long ago to fully enjoy my PC gaming hobby. I have a soft spot for 90s electronic music and Babylon 5. In the evenings you will find me roaming the endless space in Warframe (IGN k05h).