Cpio
From Just Solve the File Format Problem
(Difference between revisions)
m (→Examples) |
(displaytitle) |
||
Line 7: | Line 7: | ||
|pronom={{PRONOM|fmt/635}} | |pronom={{PRONOM|fmt/635}} | ||
}} | }} | ||
+ | {{DISPLAYTITLE:cpio}} | ||
+ | |||
'''cpio''' is a non-compressed file archive format for [[Unix]]-style systems. It was originally intended for tape archiving, similar to the [[Tape Archive]] (tar) format. | '''cpio''' is a non-compressed file archive format for [[Unix]]-style systems. It was originally intended for tape archiving, similar to the [[Tape Archive]] (tar) format. | ||
Revision as of 20:42, 18 April 2015
cpio is a non-compressed file archive format for Unix-style systems. It was originally intended for tape archiving, similar to the Tape Archive (tar) format.
Contents |
Examples
To extract files, using the command line utility:
$ cpio -idmv -I example.cpio
To list files:
$ cpio -it -I example.cpio
Identification
A cpio archive begins with one of the following signatures:
-
0x71 0xC7
-
0xC7 0x71
-
'0' '7' '0' '7'
Be aware that there are afio extensions to cpio format that are not supported by most cpio utilities. For one thing, if most of the filenames end in ".z", it's probably a compressed afio archive.