![]() since version 5.4.0 threaded decompression has been implemented. ![]() Xz has supported multi-threaded compression (with the -T flag) since 2014, version 5.2.0. Tar xJf keep.txz # decompress then extract the file. Tar cJf keep.txz keep # archive then compress the directory. Single-letter tar example for archive with compress and decompress with extract using short suffix: Tar -x -lzma -f my_ # results in /some_directory Tar -x -xz -f my_ # results in /some_directory Tar -c -lzma -f my_ /some_directory # results in my_ĭecompressing the archive and extracting its contents: Tar -c -xz -f my_ /some_directory # results in my_ ![]() Version 1.22 or greater of the GNU implementation of tar has transparent support for tarballs compressed with lzma and xz, using the switches -xz or -J for xz compression, and -lzma for LZMA compression. They cannot bundle multiple files into a single archive – to do this an archiving program is used first, such as tar. Just like gzip and bzip, xz and lzma can only compress single files (or data streams) as input. XZ Utils can compress and decompress both the xz and lzma file formats, but since the LZMA format is now legacy, XZ Utils compresses by default to xz.īoth the behavior of the software as well as the properties of the file format have been designed to work similarly to those of the popular Unix compressing tools gzip and bzip2. Various command shortcuts exist, such as lzma (for xz -format=lzma), unxz (for xz -decompress analogous to gunzip) and xzcat (for unxz -stdout analogous to zcat)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |