Cpio
From Just Solve the File Format Problem
(Difference between revisions)
(→Software: Deark) |
(add ForensicsWiki entry link (no useful details to add)) |
||
Line 46: | Line 46: | ||
* [http://www.gnu.org/software/cpio/manual/index.html GNU cpio manual] | * [http://www.gnu.org/software/cpio/manual/index.html GNU cpio manual] | ||
* [http://rightsock.com/~kjw/Ramblings/tar_v_cpio.html tar vs. cpio] | * [http://rightsock.com/~kjw/Ramblings/tar_v_cpio.html tar vs. cpio] | ||
+ | * [https://web.archive.org/web/20190809160054/http://www.forensicswiki.org/wiki/Cpio ForensicsWiki entry] (no useful detail) |
Revision as of 15:23, 1 November 2020
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.
Specifications
Software
Sample files
Other links
- Wikipedia article
- cpio utility man page
- GNU cpio manual
- tar vs. cpio
- ForensicsWiki entry (no useful detail)