This question already has an answer here:
How can I set the compression level for this command?
tar --lzma -cf files/compressed/lzma/archive.lzma -C files/original/ .
--bzip I just use:
BZIP2=-9 tar --bzip2 -cf files/compressed/bzip2//archive.tar.bz2 -C files/original/ .
but with the
LZMA=-9 doesn't work.
Is this enviroment variable name incorrect? Where can I get the correct variable name?