|
From: | Marcus Harnisch |
Subject: | jka-compr: Conditional mode? |
Date: | Tue, 13 Apr 2021 14:56:32 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 |
Hi allI have to deal with files generated by a tool, which stores them as either compressed or uncompressed, depending on some configuration. The file extension is the same in both cases.
Data stored in ‘jka-compr-compression-info-list’ already supports an entry ‘file-magic-chars’. Could that be used to determine whether to treat a file as (un)compressed?
Thanks, Marcus
[Prev in Thread] | Current Thread | [Next in Thread] |