gzip

    gzip command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.7
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    154

    #gzip

    Compress data into gzip streams through MoonX.

    #Usage

    moonx cli/gzip -c input.txt > input.txt.gz moonx cli/gzip -dc input.txt.gz > restored.txt

    Stream compression or decompression with levels 1 through 9. Use -c to keep file operands and write stdout.

    #Common options

    OptionDescription
    -c, --stdoutWrite to stdout and keep input files.
    -d, --decompressDecompress (default for gunzip and zcat).
    -t, --testValidate compressed input without output.
    -1, --fastSame as -1.
    -9, --bestSame as -9.
    --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • Named-file replacement and metadata preservation have filesystem limits; stdout mode is the portable path.
    • Decompression validates members and checksums but may emit a valid prefix before reporting corruption.

    See the compatibility guide for the supported profile.

    Source Files