Can you give an example for compressing files with lzma2? I searched on Google but I didn't find any examples that I could understand.
You can also use the lzma
binary or the xz
with the --format=lzma
argument.,
If you want to compress a set of files, I would recommend using tar to glue them together and then lzma, as for example:
$ tar --lzma -cf foo.tar.lzma file1 file2 ...
$ file foo.tar.lzma
foo.tar.lzma: LZMA compressed data, streamed