Skip to content

Fallout (and also former NUKE) lacks of possibility to uncompress a .tar.xz archive #596

Description

@ITaluone

Description

GZip, Bzip2, Zip.. all of them have compression extensions.

But Xz (.tar.xz) is missing

Why?

In general, only to get around qirks like that: https://github.com/fluentassertions/fluentassertions/blob/main/Build/CompressionExtensions.cs
And: why shouldn't we support (at least decompressing) .tar.xz files, too?

Usage Example

// AbsolutePath dir = RootDirectory / "some" / "subfolder";
// dir.TarXzTo(RootDirectory / "bla.tar.xz");
// dir.CompressTo(RootDirectory / "bla.tar.xz");
// This is not possible...

// and respective:
AbsolutePath archive= RootDirectory / "bla.tar.xz";
archive.UnTarXzTo(RootDirectory / "some" / "subfolder1");
archive.UncompressTo(RootDirectory / "some" / "subfolder2");

Alternative

Making this logic in exactly every project where needed...

Could you help with a pull-request?

Yes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions