How can I set the compression level for this command?
tar --lzma -cf files/compressed/lzma/archive.lzma -C files/original/ .
With --bzip
I just use:
BZIP2=-9 tar --bzip2 -cf files/compressed/bzip2//archive.tar.bz2 -C files/original/ .
but with the --lzma
option LZMA=-9
doesn't work.
Is this enviroment variable name incorrect? Where can I get the correct variable name?
tar --help
is parameter--xz
and--lzma
with descriptionfilter the archive through xz
they are not different comprimation methods? – Lajdák Marek Jul 30 '15 at 14:24xz
can compress and decompresslzma
files in most cases. Seeman xz
for details... – Stephen Kitt Jul 30 '15 at 14:28