Code Monkey home page Code Monkey logo

Comments (6)

gingerbeardman avatar gingerbeardman commented on July 19, 2024 3

Correct, but it misses a command line tool that allows compression/decompression of files using LZFSE

Use compression_tool in Terminal on macOS.

COMPRESSION_TOOL(1)                                        COMPRESSION_TOOL(1)



NAME
       compression_tool - encode/decode files using the Compression library

SYNOPSIS
       compression_tool   -encode  |  -decode  [-a algorithm]  [-i input_file]
       [-o output_file] [-v] [-h]

DESCRIPTION
       compression_tool encodes (compresses), or decodes (uncompresses)  files
       using the Compression library.

OPTIONS
       -encode
              Encode (compress) the input

       -decode
              Decode (uncompress) the input

       -a algorithm
              Set  the  compression  algorithm,  valid options are zlib, lzma,
              lzfse, lz4, lz4_raw.  Default is lzfse.
              - zlib      raw DEFLATE payload, as defined in  IETF  RFC  1951,
              encoder is zlib level 5,
              -  lzma      LZMA2  payload  inside  a  XZ container, encoder is
              LZMA2 preset 6,
              - lz4       raw LZ4 payload inside a custom container (described
              in compression.h),
              - lz4_raw   raw LZ4 payload,
              - lzfse     LZFSE payload.

       -i input_file
              Input file. If omitted, read from standard input.

       -o output_file
              Output file. If omitted, write to standard output.

       -v     Increase verbosity. Default is silent operation.

       -h     Print usage and exit.



                                                           COMPRESSION_TOOL(1)

from lzfse.

stephentyrone avatar stephentyrone commented on July 19, 2024

lzfse and a few other compressors are built into the operating system on macOS (#include <compression.h> / -L compression). See WWDC Session 712 from 2015 for more details.

(Or perhaps this is a request to expose the command-line tool specifically?)

from lzfse.

nostradani avatar nostradani commented on July 19, 2024

Correct, but it misses a command line tool that allows compression/decompression of files using LZFSE

from lzfse.

stephentyrone avatar stephentyrone commented on July 19, 2024

It would be best for a command line tool on macOS to link against the system libcompression.dylib instead of building the reference sources in this project. The simplest fix would be for Apple to provide the command line tool directly, if anyone feels like filing a bug report to request it; alternatively one could clone just the command line tool portion of this project and use that for homebrew.

from lzfse.

raimue avatar raimue commented on July 19, 2024

This is only supported in OS X 10.10 and later, so it would make sense to provide it for older systems in Homebrew or MacPorts. However, this repository has no tagged release at all. How stable is the file format? Which version should be packaged?

from lzfse.

stek29 avatar stek29 commented on July 19, 2024

See https://github.com/Homebrew/homebrew-core/blob/master/Formula/lzfse.rb

from lzfse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.