Howto unzip ".xz" file with 7z and lzma
- by neversaint
I tried to uncompressed a "*.xz" file with both 7z and lzma.
But they gave me such message:
$ 7z x myfile.fq.xz
7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)
Processing archive: myfile.fq.xz
Error: Can not open file as archive
$ 7z x myfile.fq.xz
7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)
Processing archive: myfile.fq.xz
Error: Can not open file as archive
and with lzma
$ lzma -d myfile.fq.xz
J_12.fq.xz: unknown suffix -- unchanged
with other option:
$ lzma -S .xz -d myfile.fq.xz
lzma: SetDecoderProperties() error