AptLynx

Command-line tool

cpio

brew/cpio

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Copies files into or out of a cpio or tar archive archive tar gnuwin32 cpio

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id GnuWin32.Cpio -e

macOS

brew install cpio

Linux

brew install cpio

Take a list of file names from `stdin` and add them onto an archive (copy-[o]ut) in cpio's binary forma

echo "path/to/file1 path/to/file2 ..." | cpio -o > archive.cpio

Copy all files and directories in a directory and add them onto an archive (copy-[o]ut), in verbose mode

find path/to/directory | cpio -ov > archive.cpio

Pick all files from an archive (copy-[i]n), generating directories where needed, in verbose mode

cpio < archive.cpio -idv

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents