Crates.io | tar2arx |
lib.rs | tar2arx |
version | 0.3.2 |
source | src |
created_at | 2024-02-06 15:04:00.908665 |
updated_at | 2024-11-22 23:38:15.268329 |
description | Convert a tar archive into a arx archive. |
homepage | https://github.com/jubako/arx |
repository | https://github.com/jubako/arx |
max_upload_size | |
id | 1129006 |
size | 62,963 |
tar2arx
is a command-line tool that converts tar archives to the Arx archive format.
Arx (https://crates.io/crates/arx) offers a modern and performant alternative to traditional archive formats.
This tool streamlines the process of migrating existing tar archives to the benefits of Arx.
The recommended installation method is using Cargo, Rust's package manager:
cargo install tar2arx arx
This command will install both tar2arx
and its dependency, the arx
library, which is necessary for reading and manipulating Arx archives.
Pre-built binaries for Windows, macOS, and Linux are available for each release on the GitHub releases page. Download the appropriate binary for your operating system and place it in your system's PATH.
Converting a Local Tar Archive:
tar2arx -o output.arx input.tar.gz
This command converts input.tar.gz
to output.arx
.
Converting a Remote Tar Archive:
tar2arx -o remote.arx https://example.com/data.tar.gz
This converts a remote tar archive from the specified URL (requires the http
feature, which is enabled by default).
Working with Arx Archives (using the arx
command):
After converting to Arx, use the arx
command to interact with the created archive. Here are some examples:
List archive contents:
arx list output.arx | less
Extract the archive:
arx extract output.arx -C my_output_directory
Extract a single file:
arx dump output.arx path/to/my/file.txt my_file.txt
Mount the archive (Linux/macOS):
mkdir mount_point
arx mount output.arx mount_point
Remember to unmount the archive using umount mount_point
when finished.
Contributions are welcome! Please open an issue or submit a pull request.
I (@mgautierfr) am a freelance developer. All jubako projects are created in my free time, which competes with my paid work. If you want me to be able to spend more time on Jubako projects, please consider sponsoring me. You can also donate on liberapay or buy me a coffee.
This project is licensed under the MIT License - see the LICENSE-MIT file for details.