FG

What is the difference between TAR vs CPIO archive file formats?

Fresh3 days ago
Mar 15, 202642972 views
Confidence Score0%
0%

Problem

I am curious and did a bit of reading but still have questions. What makes CPIO different than TAR? I was told in another question that tar is for pulling together many files into 1 archive which then is usually gzip'd or bzip'd. Also I was told TAR cannot compress from STDOUT. I want to archive / …

Error Output

# Backup snapshot to cpio and bzip2 archive
zfs send media/mypictures@20070607 | cpio -o | bzip2 -9c > ~/backups/20070607.bz2

# Restore snapshot fro…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What is the difference between TAR vs CPIO archive file formats?

Low Risk

In Addition to what was said before by grawity and Paul: History In the "old days", cpio (with option used) was the tool to use when it came to move files to other UNIX derivates since it was more portable and flexible than tar. But the tar portabil…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment