Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.39 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.39 KB

neoaa

Open-Source Apple Archive CLI tool for Linux+macOS using libNeoAppleArchive.

Unfinished, however neoaa list is complete, allowing you to list files in .aar files, neoaa wrap, allowing you to create an .aar from one file, and neoaa unwrap, allowing you to extract a specific file listed from neoaa list from the directory. neoaa extract is also semi-working.

Building on OS X

cd to the directory and then make. You will need clang and ar installed.

  • Static library: build/usr/lib/libNeoAppleArchive.a
  • CLI tool: build/usr/bin/neoaa

Building on Linux

Tested on Arch Linux.

Go to https://github.com/lzfse/lzfse and swap out liblzfse.a with a version compiled for Linux, then build like macOS.

CLI Usage

Usage: neoaa command <options>

Commands:

 archive: archive the contents of a directory.
 extract: extract files from an archive.
 list: list the contents of an archive.
 wrap: archive a singular file.
 unwrap: extract a singular file from an archive.
 version: display version of aa

Options:

 -i: path to the input file or directory.
 -o: path to the output file or directory.
 -a: algorithm for compression, lzfse (default), zlib, raw (no compression).
 -p: specify path of file in project to unwrap, sub or add.
 -f: path of file to add to the .aar specified in -i.
 -h: this ;-)