Convert CPIO to XAR
Turn CPIO archives into XAR. Every file and link is kept with its path, modification time and permissions.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop CPIO files on the dialor turn it to pick what to do
A XAR archive built from your CPIO.Files and links keep their paths, times and permissions.
What you get
One XAR archive that holds everything in the CPIO archive. Every file and link is kept with its path, its modification time and its permissions.
XAR is the archive behind macOS installer packages. The files are stored in the archive, each compressed with gzip.
What it leaves behind
Owners are not kept. The XAR archive does not record who owned each file in the CPIO archive.
When it stops
If the CPIO archive cannot be parsed, the conversion stops with
input_corrupted. No XAR archive is made in that case.
CPIO and XAR.What each format is.
The formats
cpio Archive
The Unix cpio archive, still used inside RPM packages and initramfs images.
- Extensions
- .cpio
- MIME type
- application
/x -cpio - Kind
- Archives
XAR Archive
The archive behind macOS installer packages.
- Extensions
- .xar .pkg
- MIME type
- application
/x -xar - Kind
- Archives
In your code.The same CPIO to XAR conversion through the API, for your app or your agent.
$ cv convert archive.cpio archive.xar$ cv convert archive.cpio archive.xarQuestions.What people ask about CPIO to XAR.
Yes. Each file and link keeps its permissions and its modification time, along with its path.
No. Owners are not kept in the XAR archive.
Yes. The files are stored in the archive, each compressed with gzip.
Yes. XAR to CPIO converts a XAR archive into a CPIO archive.