How about having tar autodetect lz4 compression, so that
  tar xf foo.tar.lz4
  etc.
works?
https://github.com/lz4/lz4

Evidently the magic number is the four bytes 0x04 0x22 0x4d 0x18
(except it's endian-dependent? Seems crazy, but not sure)
https://en.wikipedia.org/wiki/LZ4_(compression_algorithm)
-> https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md

For your consideration. Sorry if already discussed. --thanks, karl.

Reply via email to