.cpio CPIO archive

Archives & packages

MIME typeapplication/x-cpio
DescriptionCPIO archive
CategoryArchives & packages
Signature (magic bytes)30 37 30 37 30 31 (070701)
30 37 30 37 30 32 (070702)

Frequently asked questions

What is a .cpio file?

A .cpio file is a “CPIO archive” (MIME type application/x-cpio).

How do I open a .cpio file?

With an archive tool such as 7-Zip (Windows) or the built-in archive manager on macOS or Linux. On the command line, use tar, unzip or 7z depending on the format.

How can you tell a genuine .cpio file?

By the bytes at the start of the file, the signature (magic bytes): 30 37 30 37 30 31 (070701) and 30 37 30 37 30 32 (070702). On Linux and macOS, file --mime-type example.cpio checks the real type regardless of the extension.

Which MIME type belongs to .cpio?

The MIME type is application/x-cpio. In the Apache web server: AddType application/x-cpio .cpio; in nginx: types { application/x-cpio cpio; }.

Nearby entries