close
Skip to content

Repository files navigation

cpio-java

Java code for Parsing CPIO files

Note: Most of this code is NOT mine, the vast majority is from Kaitai Struct, it was just not easy to find the java version because you need to use their online generator for the default cpio ksv file, however I have added:

  1. A method for getting the File Name
  2. A main method for extraction to output
  3. WIP CPIO ACSII new / RPM CPIO parser that can extract files

To extract, build the jar and run: java -jar cpio-java.jar filename.cpio /full/path/to/dir/

Requires Kaitai Struct Java Runtime https://github.com/kaitai-io/kaitai_struct_java_runtime/tree/e34e5a9b4d3e02a323fdbb000b61d0dd0fb9f776, which is in the Maven Pom

Repository moved to GitHub

Due to the closure of Pagure.io, as discussed here: https://discussion.fedoraproject.org/t/decommissioning-of-pagure-io-anticipated-by-flock-2026/181997, this project has been moved from Pagure to GitHub:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages