Questions tagged [xz]

The .xz file format is a LZMA2 based compression format. There are no archiving capabilities so .xz files only hold one compressed file.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Error extracting tar.xz files on Linux

I have a bunch of tar.xz files I need to extract. I tried using the following command, but get errors when it tries to extract individual files. tar -xJf file.tar.xz tar: Example_path/and_file_name....
user avatar
  • 299
1 vote
2 answers
60 views

Error extracting tar.xz files in Windows using command line

I have a bunch of tar.xz files I need to extract. I tried using the following command, but get an error. tar -xJf "S:This_Is\the path\to_my_file.tar.xz" tar: Error opening archive: Can't ...
user avatar
  • 299
0 votes
0 answers
197 views

Is there a way to extract partial content from a tar.xz file?

I have a tar.xz file in a server. I would like to see what is inside and extract some of the content. The problem is that this file is 1.24TB large! My local PC can not hold it. Is there a way to ...
user avatar
0 votes
1 answer
300 views

How to let xz show percentage progress when compressing block device in Linux?

When I use xz to compress a block device (e.g. /dev/sda1), --verbose shows the current size read from input file (128 MiB below). However, it does not show the percentage of input file read (--- % on ...
user avatar
0 votes
0 answers
94 views

Decompress a tar.xz file using all cores

I have 37 GiB File which was created by tar + xz. I have a server with 6 cores, so for maximum compression speed I want to use all my 6 cores using this command XZ_OPT='-T0 -9 –memory=75%' tar -cJf ...
user avatar
0 votes
0 answers
120 views

how do i use fuse to mount a file in a compressed file as a symlink

i have a directory full of .xz files, each containing a single file (not tar). uncompressed, the directory is 23GiB. (*.xml) compressed, the directory is 1GiB. (*.xml.xz) how do i fool the filesystem ...
user avatar
0 votes
1 answer
96 views

Ffmpeg decompress xz/gz/zip in memory

I have a xz compressed y4m raw video file (sintel-4k.y4m.xz) and I would like to transcode it using ffmpeg, decompressing in memory. I do not have enough disk space to decompress the file to disc and ...
user avatar
  • 135
-1 votes
1 answer
166 views

Create Fixed Size xz archive

I want to create an xz archive with exact size 8MB, I use 7z to create archive but the size is less than 8MB I know xz support padding to increase size but I dont know which tools suppurt this feature ...
user avatar
  • 111
1 vote
1 answer
821 views

An installation script in a Docker's container fails due to xz command

I am trying to install PredictProtein for Docker from here. The script for installing the database used by PredictProtein downloads the data as a .txz file. After downloading, the script attempts to ...
user avatar
  • 183
2 votes
1 answer
740 views

backports/lzma/_lzmamodule.c(115) : fatal error C1083: Cannot open include file: 'lzma.h': No such file or directory

I have a Windows 7 PC with Visual Studio 2015 upgrade 3 installed on it and I would like to install backports.lzma library for Python with pip. I have downloaded and extracted XZ Utils in Program ...
user avatar
  • 137
0 votes
1 answer
316 views

Getting "Error: Empty archive" when installing wine using homebrew

I am trying to install wine on my mac using homebrew following this tutorial: https://www.davidbaumgold.com/tutorials/wine-mac/ In step 4 when I do "brew install wine" I get the following: ==> ...
user avatar
  • 11
3 votes
1 answer
289 views

file splitting and compression in pipeline

So I have a massive file something like this... 1/20/2016,somerandomdata 1/20/2016,somerandomdata 1/20/2016,somerandomdata 1/20/2016,somerandomdata 1/21/2016,somerandomdata 1/21/2016,somerandomdata 1/...
user avatar
  • 199
2 votes
2 answers
121 views

run program in background

Is it possible to run a program e.g. xz in the background so it wouldn't suck all the system's resources?
user avatar
  • 399
0 votes
1 answer
2k views

Yum: xz compression not available on Fedora 12

I am currently in the process of updating an old Fedora server, and am currently on Fedora 12. on the last update I forgot to upgrade rpm (see here). Now yum always returns this error: Error: xz ...
user avatar
  • 46
14 votes
1 answer
12k views

Difference between pixz and xz with -T option

I'm trying to compress a 100GB with a good ratio, so I decided to use xz. I don't need it to be very fast, but since I have an 8-threads CPU, I was wondering how to take advantage of them. I found ...
user avatar
  • 373
2 votes
1 answer
338 views

Does specifying the compression engine to tar directly actually use less intermediate disk space than tarring first and then compressing?

When I use tar to archive a directory and then compress it separately using e.g. xz, there will be a point where I have three files on my system - dir, dir.tar and dir.tar.xz. As soon as the ...
user avatar
  • 2,369
101 votes
1 answer
83k views

Cannot decompress .tar.xz file, getting "xz: Cannot exec: No such file or directory" from tar

Per How do I uncompress a tarball that uses .xz?, I tried tar xf php-5.6.0RC4.tar.xz and tar -xJf php-5.6.0RC4.tar.xz and in both cases I get the following: tar (child): xz: Cannot exec: No such file ...
user avatar
  • 6,061
21 votes
3 answers
5k views

Compressing many similar big files

I have hundreds of similar big files (30 megabyte each) which I want to compress. Every pair of files have 99% of same data (less then 1% difference), so I expect to have not more than 40-50 megabyte ...
user avatar
  • 6,347
5 votes
1 answer
5k views

How do I safely convert a .gz file to a .xz file

I have some huge files that are currently gzipped and I would like to xz them. I want set up a script to do this, but I want to be careful not to lose the data, i.e. I should never delete the gzipped ...
user avatar
1 vote
0 answers
3k views

Can I fix this TAR+XZ file?

I'm doing some file recovery on an old hard drive, using the most recent stable PhotoRec. After finding a lot of files that I wanted to keep, I decided to make some of them (meaning over 700) easier ...
user avatar
24 votes
5 answers
25k views

Between xz, gzip, and bzip2, which compression algorithim is the most efficient?

Between xz, gzip, and bzip2, which compression algorithm gives the smallest file size and fastest speed when compressing fairly large tarballs?
user avatar
  • 1,030
0 votes
2 answers
789 views

xz archive opens in linux, corrupted in windows [closed]

I have some xz archives (that were created in Linux), I can decompress them fine in linux but I'm trying to open them in Windows (7). I've used both 7zip and ExtractNow. In both cases the archive ...
user avatar
5 votes
2 answers
3k views

How can I have `less` automatically decompress `xz` files like it did with `gz` files on my old SUSE distro?

On my old SUSE distro, less would automatically decompress .gz files. That came in very convenient when listing auto-compressed /var/log/mail*.gz files. The current version of SUSE now archives /var/...
user avatar