Cpio
From Just Solve the File Format Problem
(Difference between revisions)
(added more samples) |
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
||
Line 40: | Line 40: | ||
== Sample files == | == Sample files == | ||
* http://ftp.gnu.org/gnu/tar/tar-1.27.cpio.gz | * http://ftp.gnu.org/gnu/tar/tar-1.27.cpio.gz | ||
− | * | + | * {{DexvertSamples|archive/cpio}} |
* [https://www.clamav.net/downloads ClamAV Download] → [https://www.clamav.net/downloads/production/clamav-0.103.8.tar.gz 0.103.8 Source] → test/.split → split.clam.*.cpio?? | * [https://www.clamav.net/downloads ClamAV Download] → [https://www.clamav.net/downloads/production/clamav-0.103.8.tar.gz 0.103.8 Source] → test/.split → split.clam.*.cpio?? | ||
Latest revision as of 02:55, 28 December 2023
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 |
[edit] Examples
To extract files, using the command line utility:
$ cpio -idmv -I example.cpio
To list files:
$ cpio -it -I example.cpio
[edit] 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.
[edit] Specifications
[edit] Software
[edit] Sample files
- http://ftp.gnu.org/gnu/tar/tar-1.27.cpio.gz
- dexvert samples — archive/cpio
- ClamAV Download → 0.103.8 Source → test/.split → split.clam.*.cpio??
[edit] Other links
- Wikipedia article
- cpio utility man page
- GNU cpio manual
- tar vs. cpio
- ForensicsWiki entry (no useful detail)