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.
26
questions
1
vote
0
answers
94
views
PiShrink creating files with different sizes with the same input
I've recently started using PiShrink to decrease the size of backup images and I noticed that the file size of an with PiShrink shrunken and xz compressed image.
sudo pishrink.sh -Z input_image.img ...
1
vote
2
answers
459
views
Decompressed a .xz file and now it has no extension and is not a directory
I had a directory of files that I compressed using:
tar -cvJf my_directory.xz my_directory
Now I've gone to decompress it using:
xz -dv my_directory.xz my_directory
and the resulting file is simply ...
0
votes
0
answers
2k
views
The most complete backup of /dev/sdX with dd, tar, gz, xz
What is the most complete way to backup/restore entire /dev/sdX (to/from a file) including device partition table and partition flags, all possible metadata, owners, file permissions, ACLs, creation/...
0
votes
0
answers
1k
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....
2
votes
3
answers
6k
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 ...
0
votes
0
answers
872
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 ...
0
votes
2
answers
3k
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 ...
3
votes
2
answers
4k
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 ...
0
votes
0
answers
351
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 ...
0
votes
1
answer
296
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 ...
-1
votes
1
answer
230
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 ...
1
vote
1
answer
982
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 ...
2
votes
1
answer
905
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 ...
0
votes
1
answer
410
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:
==> ...
3
votes
1
answer
398
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/...
2
votes
2
answers
130
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?
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 ...
16
votes
1
answer
13k
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 ...
2
votes
1
answer
492
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 ...
132
votes
1
answer
118k
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 ...
25
votes
3
answers
6k
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 ...
5
votes
1
answer
6k
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 ...
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 ...
29
votes
5
answers
36k
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?
0
votes
2
answers
893
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 ...
6
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/...