Open laraaj opened 2 years ago
Hi,
I just tested the following code to compress a folder into file Archive.tar.xz
using (Stream stream = File.OpenWrite("../Archive.tar.xz")) using (var writer = WriterFactory.Open(stream, ArchiveType.Tar, CompressionType.Xz)) { writer.WriteAll(".", "*", SearchOption.AllDirectories); }
but it returned the following error :
SharpCompress.Common.InvalidFormatException: 'Tar does not support compression: Xz'
is .xz compression supported ?
Xz is decompression only https://github.com/adamhathcock/sharpcompress/blob/master/FORMATS.md
Hi,
I just tested the following code to compress a folder into file Archive.tar.xz
but it returned the following error :
SharpCompress.Common.InvalidFormatException: 'Tar does not support compression: Xz'
is .xz compression supported ?