xz vs gz/gzip vs bzip2 vs compress vs zstd compression size with tar command The -zstd option run the archive through the zstd command. $ sudo tar -zstd -cf dir1 folder1 file2.txt The zstd command is a fast lossless compression algorithm and data compression tool, with command line syntax similar to gzip and xz. Using zstd command for compression with the tar command The -J run the archive through the xz command. $ tar -Jcvf /path/to/dir1/ /path/to/dir2/ The tar command can use the xz compression by calling the xz command as follows: The xz command is a general-purpose data compression tool with command line syntax similar to gzip and bzip2. Compressing a while folder using xz compression Hence, use the apk command on Alpine Linux, dnf command/ yum command on RHEL & co, apt command/ apt-get command on Debian, Ubuntu & co, zypper command on SUSE/OpenSUSE, pacman command on Arch Linux to install the xz, compress and zstd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |