PNA (Portable Network Archive) is a highly scalable archive format that can be compressed, encrypted, and split. Also, its data structure is inspired by the PNG data structure.
-
File Compression and Decompression
- Supports zlib, zstd, and xz.
-
File Encryption and Decryption
- Supports 256-bit AES and 256-bit Camellia.
-
Solid Mode
- Compresses and encrypts entire archives.
-
File Attribute Preservation
- Maintains and restores file permissions.
- Maintains and restores file timestamps.
- Maintains and restores extended attributes.
- Maintains and restores Access Control Lists (ACLs) (experimental feature).
cargo install portable-network-archive
cargo install --git https://github.com/ChanTsune/Portable-Network-Archive.git portable-network-archive
pna create <ARCHIVE> [FILES]...
pna extract <ARCHIVE>
pna list <ARCHIVE>
Use the following command to get help.
pna --help
For more detailed information, please refer to the Specification document.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.