Cpio

 [image of the Head of a GNU]


Table of Contents


Introduction to Cpio

GNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe.

GNU cpio supports the following archive formats: binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar. The tar format is provided for compatability with the tar program. By default, cpio creates binary format archives, for compatibility with older cpio programs. When extracting from archives, cpio automatically recognizes which kind of archive it is reading and can read archives created on machines with a different byte-order.

Downloading Cpio

GNU cpio can be found on http://ftp.gnu.org/gnu/cpio/ or one of the mirrors.

Alpha releases of the development version can be downloaded from alpha.gnu.org.

The project's homepage at Savannah is the place to look for the latest news and patches for the project.

Manual

GNU cpio is fully documented. Complete documentation in Texinfo format is included in the distribution. An online manual is available in various formats.

Mailing lists

If you wish to send a bug report, a feature request, or simply to share your thoughts about GNU cpio, please write to <bug-cpio@gnu.org>. Notice, that this is a moderated list, i.e. postings from non-subscribers are held until one of moderators has time to approve them. To subscribe to the list, visit http://mail.gnu.org/mailman/listinfo/bug-cpio.

Releases

Date Version Download (please use one of the mirrors instead) Information
2006-10-21 2.7 cpio-2.7.tar.gz and its signature
cpio-2.7.tar.bz2 and its signature
  • Improved error checking and diagnostics
  • Fixed CAN-1999-1572
  • Allow to use --sparse in both copy-in and copy-pass.
  • Fix bug that eventually caused copying out the same hard-linked file several times to archive.
  • Fix several LFS-related issues.
  • Fix Debian bug #335580.
2004-12-20 2.6 cpio-2.6.tar.gz and its signature
cpio-2.6.tar.bz2 and its signature
  • Added NLS support
  • Improved configure script
  • Improved invocation consistency checking and help output
  • Printing warning about truncation of inode numbers is suppressed by default.
  • New option --warning (-W) controls the level of output warnings:
    -Wnone Disables all warnings
    -Wtruncate Enable warning about truncation of the inode number
    -Wall Enables all warnings
    To disable a particular warning, prefix its name with 'no-', just like in gcc.
  • New option --to-stdout extracts files to standard output.
  • The output of cpio --help is largely improved.
  • Bugfixes
2004-09-16 2.5.90 cpio-2.5.90.tar.gz and its signature
cpio-2.5.90.tar.bz2 and its signature
See NEWS and ChangeLog files.

Valid XHTML 1.0!