Convert CPIO to TZST

Turn CPIO archives into TZST. Every file and link is kept with its path, modification time and permissions.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop CPIO files on the dialor turn it to pick what to do

A CPIO archive as one TZST file.Files and links keep their paths, times and permissions. Owners are not kept.

  1. What you get

    One TZST file: a tar archive compressed with Zstandard. Every file and link from the CPIO archive is inside it.

    Each entry keeps its path, its modification time and its permissions, so the tree unpacks as it was laid out in the original.

  2. What it leaves behind

    Owners. The CPIO archive records who owns each entry, and the TZST file does not keep that information.

  3. When it stops

    If the CPIO file cannot be parsed, the conversion stops with input_corrupted. No TZST file is produced in that case.

    To go the other way, use TZST to CPIO.

CPIO and TZST.What each format is.

The formats

From · CPIO

cpio Archive

The Unix cpio archive, still used inside RPM packages and initramfs images.

Extensions
.cpio
MIME type
application/x-cpio
Kind
Archives
To · TZST

Zstandard Tar Archive

Zstandard-compressed tar archives. Fast to unpack, close to xz in size.

Extensions
.tzst
MIME type
application/zstd
Kind
Archives

In your code.The same CPIO to TZST conversion through the API, for your app or your agent.

terminal
$ cv convert archive.cpio archive.tzst
$ cv convert archive.cpio archive.tzst

Questions.What people ask about CPIO to TZST.

01OF 04

Yes. Every file and link is kept with its path, modification time and permissions.

No. Owners are not kept in the TZST file.

A tar archive compressed with Zstandard. It comes out as one file.

The CPIO file could not be parsed, so the conversion stops.

More conversions.Other ways in and out of CPIO and TZST.