[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lz4 support?
From: |
Karl Berry |
Subject: |
lz4 support? |
Date: |
Tue, 12 Oct 2021 14:30:34 -0600 |
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.
- lz4 support?,
Karl Berry <=