Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [xz]

A container format for compressed streams. The .xz format can hold only a single file (it does not bundle multiple files into a single archive).

0
votes
1answer
58 views

GNU parallel proper usage in conjunction with tar, xz, gpg

I would like to speed up my archiving operations, I am usually doing 23 GiB (one Blu-Ray) backups. I have found this: How to do large file parallel encryption using GnuPG and GNU parallel? Since I ...
0
votes
0answers
26 views

How to make use of tar --verify directly?

This question is about compressing rather large data directories (around 22-23 GiB), specifically the integrity checks of such archives. I do these big backups about once a month, so the time it takes ...
0
votes
2answers
118 views

Unable to create tar with xz compression of a directory to another directory

I am trying to create a tar archive with xz compression of my home directory to another non-existent directory, but it gives me error: tar: Cowardly refusing to create an empty archive The command ...
1
vote
3answers
170 views

How to concatenate results of multiple commands and pipe into another without intermediate file?

Suppose I have four very large text files, all compressed with xz. file1.log.xz file2.log.xz file3.log.xz file4.log.xz What I'd like to do is concatenate the uncompressed contents of these four ...
1
vote
1answer
219 views

Compressing Directory tree into multiple tar archives into a single xz

I'm trying to compress a large rootdir which contains many subdir_i the folder tree looks like: ./rootdir ./rootdir/subdir_1 ./rootdir/subdir_2 ... I am looking to output this to a single compressed ...
1
vote
0answers
30 views

xzcmp does not work for some files. (Internal pipe error 141?)

I am using xzcmp to compare several XZ files. But I have a strange problem: For some files (*), xzcmp doesn't work and returns exit code 2, without error message. zxcmp version1.sql.xz version2.sql....
2
votes
1answer
2k views

Is there any way to check the compression ratio of a xz compressed file?

In windows by default one can see the compression ratio of zip files and after installing WinRAR it also supports this feature but currently I am using a linux and have compressed a file using lzma2 ...
4
votes
1answer
1k views

Is there any way to verify the integrity of a xz archive without decompressing the entire archive?

Can I check the integrity of the archive without decompressing it as the archive is 64GB. It is a backup of my old laptop and before i format my old laptop I wanted to verify the backup but it will ...
4
votes
4answers
3k views

How to convert all files from gzip to xz on the fly (and recursively)?

I have a directory tree with gzipped files like this: basedir/a/file.dat.gz basedir/b/file.dat.gz basedir/c/file.dat.gz etc. How can I convert all of these from gzip to xz with a single command and ...
0
votes
2answers
1k views

How to check what compression type an RPM package uses?

I recently realized that the RPM packages shifted from gzip-compression to xz-compression a few years ago. I need to check is the compression type of an RPM package that I have. I also need to check ...
1
vote
1answer
580 views

'xz -d' vs. `unxz`

Why is xz -d preferred over unxz when writing scripts? From the man page for xz 5.1.0alpha: When writing scripts that need to decompress files, it is recommended to always use the name xz with ...
1
vote
1answer
1k views

compression levels gz and xz

Why isn't there any difference (output filesize) with these command lines? Gzip stdin The output files have same filesize even though the compression levels are different tar ... | gzip -c -1 > ...
7
votes
3answers
21k views

RHEL6 + Error: xz compression not available

When installing packages via yum on a RHEL Server 6.6 system, I get the following error: $ sudo yum install foo Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is ...
3
votes
2answers
4k views

XZ - Cannot allocate memory

If i run this command: XZ_OPT=-9 tar --xz -cvf files/compressed/xz/archive.tar.xz -C files/original/ . Get this message: xz: (stdin): Cannot allocate memory tar: files/compressed/lzma//archive.lzma:...
0
votes
1answer
255 views

Can I use lzma compression, without using “tar”, on OSX 10.10.3?

I can create tar files compressed using lzma as such: $ ls ./DbDumps alpha.dmp beta.dmp delta.dmp $ XZ_OPT=-9 tar cJf dbDumps.tar.xz DbDumps But, what I really want to do ( but cannot ) ...
-1
votes
1answer
4k views

Error: xz compression not available

I'm running redhat enterprise v6.6 64bit and am tyring to install 32bit Skype. In the process of trying to fix the dependency issue I managed to create another issue for myself. When I try and ...
196
votes
4answers
57k views

Why are tar archive formats switching to xz compression to replace bzip2 and what about gzip?

More and more tar archives use the xz format based on LZMA2 for compression instead of the traditional bzip2(bz2) compression. In fact kernel.org made a late "Good-bye bzip2" announcement, 27th Dec. ...
0
votes
1answer
3k views

linux + xzcat command

Please advice from where ( which site ) I can download the xzcat Linux command? I am using linux version 5.4 I tried to download the xzcat from the site: http://www.filewatcher.com/m/xzcat.2-0....