Convert legacy tar archives to PAX with metadata #191

Closed
opened 2026-04-09 16:59:48 +00:00 by fuzzy · 1 comment
Owner
No description provided.
fuzzy self-assigned this 2026-04-09 16:59:48 +00:00
fuzzy closed this issue 2026-04-11 18:36:20 +00:00
Author
Owner

Implemented. The --convert subcommand reads a source archive (auto‑detected or specified with --from) and writes it in a target format (--to). Metadata (BLAKE3/CRC32 hashes, timestamps, permissions) is automatically generated and embedded in the output archive (unless --no-internal-meta is used).

Example:

reptar --convert --from=ustar --to=pax -f legacy.tar -v

The conversion logic is in runConvert (cmd/reptar/main.go) and works with all supported archive formats.

Implemented. The `--convert` subcommand reads a source archive (auto‑detected or specified with `--from`) and writes it in a target format (`--to`). Metadata (BLAKE3/CRC32 hashes, timestamps, permissions) is automatically generated and embedded in the output archive (unless `--no-internal-meta` is used). Example: ```bash reptar --convert --from=ustar --to=pax -f legacy.tar -v ``` The conversion logic is in `runConvert` (`cmd/reptar/main.go`) and works with all supported archive formats.
Sign in to join this conversation.
No description provided.