https://github.com/falk-werner/archive-example
Examples how to use libarchive and libzip
https://github.com/falk-werner/archive-example
Last synced: 3 months ago
JSON representation
Examples how to use libarchive and libzip
- Host: GitHub
- URL: https://github.com/falk-werner/archive-example
- Owner: falk-werner
- License: unlicense
- Created: 2023-11-26T10:52:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-16T10:11:21.000Z (7 months ago)
- Last Synced: 2025-02-01T20:17:15.631Z (5 months ago)
- Language: C++
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/falk-werner/archive-example/actions/workflows/build.yml)
# archive example
This repository contains examples how to use libarchive and libzip to
read, write and manipulate zip archives.## Examples
| Example | libarchive | libzip |
| ------- | ---------- | ------ |
| [list contents of an archive](doc/list_archive.md) | :white_check_mark: | :white_check_mark: |
| [create archive](doc/create_archive.md) | :white_check_mark: | :white_check_mark: |
| [extract a single file](doc/extract_single_file.md) | :white_check_mark: | :white_check_mark: |
| [add files to an existing archive](doc/add_files.md) | :x: | :white_check_mark: |## Build examples
```bash
cmake -B build
cmake --build build
./build/create_test_archive
```## References
- [libarchive](https://www.libarchive.org/)
- [libzip](https://libzip.org/)