CPIO nedir? Unix Copy In, Copy Out Arşiv Formatı Açıklandı

CPIO, dosyaları arşivlere kopyalayan ve arşivlerden çıkaran bir Unix arşiv formatı ve aracıdır; meta verileri korur ve RPM paketlerinde ve Linux initramfs'de kullanılır.

Ücretsiz çevrimiçi dosya dönüştürme aracı. Windows, macOS, Linux, Android ve iOS üzerinde Chrome, Firefox, Safari, Edge, Opera ve diğer modern tarayıcılarda çalışır. Yazılım kurulumu veya kayıt gerekmez. Tüm dönüştürmeler doğrudan tarayıcınızda çalışır, dosyalarınız cihazınızdan ayrılmaz. Hesap gerekmeden ücretsiz kullanın.

Archive

CPIO nedir? Unix Copy In, Copy Out Arşiv Formatı Açıklandı

Meta verileri ile birlikte dosyaları akıtan klasik bir Unix arşiv formatıdır.

Son güncelleme:

Year1977
TypeArchive
UsageSystem archiving / packaging

What is it?

cpio, short for 'copy in, copy out', is a Unix utility and the associated archive format used to combine many files into a single stream. It originated in PWB/UNIX and was later standardized in the POSIX.1 specification.

The cpio program reads a list of file names from standard input and writes a concatenation of file headers, metadata, and contents to an archive. Several header variants exist, including the old binary, old ASCII (odc), and the SVR4 'new ASCII' (newc) formats, the last of which is widely used in Linux initramfs images and RPM payloads.

Technical Specifications

DeveloperAT&T Bell Labs / GNU Project (GNU cpio)
File Extension.cpio
MIME Typeapplication/x-cpio
Released1977 (PWB/UNIX)
TypeArchive (no built-in compression)

Pros & Cons

Advantages

Meta verileri korur

Stores ownership, permissions, timestamps, and device information, making it suitable for full system archiving.

Akış odaklı

Operates on a stream of files from standard input, which pipes cleanly with find and other Unix tools.

POSIX standartlı

The format is described in POSIX.1, giving it a stable, well-documented specification.

Temel rol

Used as the payload container inside RPM packages and Linux initramfs images.

Disadvantages

Yerel sıkıştırma yok

cpio archives are uncompressed and must be paired with gzip or xz to reduce size.

Format parçalanması

Multiple incompatible header variants can cause confusion and portability issues.

Daha az kullanıcı dostu

Its command-line interface is considered less intuitive than tar for everyday use.

When to Use It

cpio is most often encountered in system-level archiving and Linux packaging.

RPM paket yükleri

RPM packages store their installable files in a cpio archive, typically compressed with gzip or xz.

Linux initramfs

The initial RAM filesystem loaded by the Linux kernel is packaged as a cpio archive.

Sistem yedeklemeleri

Combined with find, cpio can archive directory trees while preserving file metadata.

How to open a CPIO file

Software for handling CPIO files can be categorized into professional applications, free/open-source tools, browser-based solutions, and built-in utilities. Professional applications often provide extensive features for advanced users, while free/open-source tools are suitable for those looking for cost-effective solutions. Browser-based options offer convenience and accessibility, whereas built-in utilities are typically available on Unix-like systems for quick access.

When choosing software for CPIO specifically, factors such as feature fidelity, whether you need editing or just viewing capabilities, and the cost model are crucial. Platform compatibility is also important, as some tools may only be available on specific operating systems. Additionally, consider export needs and whether converting CPIO to another format is a better solution for your workflow.

cpio 2023

Linux, macOSFree (GPL)

cpio is a command-line utility for Unix-like systems that handles CPIO archives. It allows users to create, extract, and list the contents of CPIO files with high fidelity. This tool is particularly suited for users comfortable with terminal commands.

Temel özellikler
  • Create CPIO archives from files
  • Extract files from CPIO archives
  • List contents of CPIO archives
  • Support for various CPIO formats
  • Integration with other Unix commands
Güçlü yönler
  • Native support on Unix-like systems
  • Highly efficient for batch processing
  • No additional installation required
Sınırlamalar
  • Command-line interface may intimidate beginners
  • Limited graphical user interface options

Şu formatlara aktarır: N/A

En uygun: Choose cpio if you prefer a powerful command-line tool for managing CPIO files on Unix-like systems.

Ziyaret et cpio →

Ark 21.12.3

LinuxFree (GPL)

Ark is a graphical archive manager for Linux that supports various archive formats, including CPIO. It provides a user-friendly interface for viewing and extracting files from CPIO archives, making it accessible for users who prefer GUI applications.

Temel özellikler
  • Graphical interface for archive management
  • Extract files from CPIO archives
  • View contents of CPIO files
  • Support for multiple archive formats
  • Integration with file managers
Güçlü yönler
  • User-friendly graphical interface
  • Supports multiple archive formats
  • Easy integration with desktop environments
Sınırlamalar
  • Limited editing capabilities for CPIO files
  • Primarily designed for extraction, not creation

Şu formatlara aktarır: N/A

En uygun: Select Ark if you need a user-friendly GUI tool for extracting and viewing CPIO files on Linux.

Ziyaret et Ark →

The Unarchiver 4.3.0

macOSFree

The Unarchiver is a macOS application designed to handle various archive formats, including CPIO. It allows users to easily extract files from CPIO archives with a simple drag-and-drop interface, catering to users who prefer a straightforward extraction process.

Temel özellikler
  • Drag-and-drop extraction of CPIO files
  • Support for many archive formats
  • Easy integration with Finder
  • Automatic file association
  • Quick extraction process
Güçlü yönler
  • Very easy to use for macOS users
  • Supports a wide range of formats
  • No complex settings to configure
Sınırlamalar
  • Limited functionality beyond extraction
  • No support for creating CPIO archives

Şu formatlara aktarır: N/A

En uygun: Use The Unarchiver if you want a simple and effective tool for extracting CPIO files on macOS.

Ziyaret et The Unarchiver →

7-Zip 22.01

Windows, macOS, LinuxFree (GPL)

7-Zip is a popular open-source file archiver that supports a wide variety of archive formats, including CPIO. It provides both a graphical interface and command-line options, allowing users to extract and create CPIO files with ease and flexibility.

Temel özellikler
  • Create and extract CPIO archives
  • Support for multiple archive formats
  • High compression ratio
  • Command-line interface available
  • Integration with Windows Explorer
Güçlü yönler
  • Versatile with many archive formats
  • Strong compression capabilities
  • Available on multiple platforms
Sınırlamalar
  • Interface may seem outdated
  • Complex for users unfamiliar with archiving

Şu formatlara aktarır: ZIP, TAR, GZ, BZ2, XZ

En uygun: Opt for 7-Zip if you need a versatile archiving tool that can handle CPIO files along with many other formats.

Ziyaret et 7-Zip →

Convert CPIO Files Free

Use our free online archive converter to convert CPIO and other formats - no signup, no watermarks.

Try Archive Converter Free

References

  1. GNU cpio Manual - GNU Project
  2. cpio - Wikipedia
  3. cpio - POSIX / The Open Group Base Specifications