Compressie – Cpio (software)

cpio icon

Website

Informatie (ENG):

cpio is a general file archiver utility and its associated file format. It is primarily installed on Unix-like computer operating systems. The software utility was originally intended as a tape archiving program as part of the Programmer’s Workbench (PWB/UNIX), and has been a component of virtually every Unix operating system released thereafter. Its name is derived from the phrase copy in and out, in close description of the program’s use of standard input and standard output in its operation.

All variants of Unix also support other backup and archiving programs, such as tar, which has become more widely recognized.[1] The use of cpio by the RPM Package Manager, in the initramfs program of Linux kernel2.6, and in Apple Computer’s Installer (pax) make cpio an important archiving tool.

Since its original design, cpio and its archive file format have undergone several, sometimes incompatible, revisions. Most notable is the change, now an operational option, from the use of a binary format of archive file meta information to an ASCII-based representation.

Bron: Wikipedia


Cpio compileren met Cygwin

1) Installeer Cywin (met de c++ compilers etc.)
2) Pak de source uit in een map, bijvoorbeeld: [CygwinFolder]\home\[NAAM]\cpio-2.12
3) Open cygwin en ga naar de folder met het commmando: cd cpio-2.12
4) Test of je alle onderdelen hebt om te compileren met het commando: ./configure
5) Maak de binairy met het commando: make
6) Zodra het compileren klaar is, is er een cpio.exe bestand aangemaakt in de folder [CygwinFolder]\home\[NAAM]\cpio-2.12\src
7) De volgende bestanden zijn nog nodig voor cpio.exe om te werken (wanneer gecompileerd met cygwin) kopieer deze uit de [CygwinFolder]\bin map:


Download cpio @ gnu.org
Download cpio voor Windows @ gnuwin32.sourceforge.net

Top