Convert CPIO to TGZ

Turn CPIO archives into TGZ. 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 a gzipped tar.Files and links keep their paths, times and permissions.

  1. What you get

    One TGZ file: a tar archive compressed with gzip. Every file and link from the CPIO archive is kept with its path, its modification time and its permissions.

  2. What it leaves behind

    Owners are not kept. The files in the TGZ do not carry the owner information from the CPIO archive.

  3. When it stops

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

    To go the other way, use TGZ to CPIO.

CPIO and TGZ.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 · TGZ

Gzipped Tar Archive

Gzip-compressed tar archives, the way source code ships.

Extensions
.tgz
MIME type
application/gzip
Kind
Archives

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

terminal
$ cv convert archive.cpio archive.tgz
$ cv convert archive.cpio archive.tgz

Questions.What people ask about CPIO to TGZ.

01OF 04

Yes. Each file and link keeps its path, modification time and permissions.

No. Owners are not kept in the TGZ.

It is one file. The contents are stored in a tar archive, which is compressed with gzip.

The CPIO file could not be parsed. The conversion stops and does not produce a TGZ.

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