GithubHelp home page GithubHelp logo

Comments (4)

blacktop avatar blacktop commented on September 26, 2024

I recently added the --json flag to output the extracted file paths as JSON and for the reasons you have presented kernels are special so for those the JSON contains a mapping of the files to their devices

from ipsw.

blacktop avatar blacktop commented on September 26, 2024
❯ ipsw extract -k UniversalMac_14.0_23A5337a_Restore.ipsw --json | jq .
   • Extracting kernelcache
{
  "23A5337a__Mac13,1_2_Mac14,2_3_5_6_7_8_9_10_12_13_14_15_MacBookAir10,1_MacBookPro17,1_MacBookPro18,1_2_3_4_Macmini9,1_VirtualMac2,1_iMac21,1_2/kernelcache.release.Mac13,1_2_MacBookPro18,1_2_3_4": [
    "Mac13,1",
    "Mac13,2",
    "MacBookPro18,1",
    "MacBookPro18,2",
    "MacBookPro18,3",
    "MacBookPro18,4"
  ],
  "23A5337a__Mac13,1_2_Mac14,2_3_5_6_7_8_9_10_12_13_14_15_MacBookAir10,1_MacBookPro17,1_MacBookPro18,1_2_3_4_Macmini9,1_VirtualMac2,1_iMac21,1_2/kernelcache.release.Mac14,2_3_7_15": [
    "Mac14,2",
    "Mac14,3",
    "Mac14,7",
    "Mac14,15"
  ],
  "23A5337a__Mac13,1_2_Mac14,2_3_5_6_7_8_9_10_12_13_14_15_MacBookAir10,1_MacBookPro17,1_MacBookPro18,1_2_3_4_Macmini9,1_VirtualMac2,1_iMac21,1_2/kernelcache.release.Mac14,5_6_8_9_10_12_13_14": [
    "Mac14,5",
    "Mac14,6",
    "Mac14,8",
    "Mac14,9",
    "Mac14,10",
    "Mac14,12",
    "Mac14,13",
    "Mac14,14"
  ],
  "23A5337a__Mac13,1_2_Mac14,2_3_5_6_7_8_9_10_12_13_14_15_MacBookAir10,1_MacBookPro17,1_MacBookPro18,1_2_3_4_Macmini9,1_VirtualMac2,1_iMac21,1_2/kernelcache.release.MacBookAir10,1_MacBookPro17,1_Macmini9,1_iMac21,1_2": [
    "MacBookAir10,1",
    "MacBookPro17,1",
    "Macmini9,1",
    "iMac21,1",
    "iMac21,2"
  ],
  "23A5337a__Mac13,1_2_Mac14,2_3_5_6_7_8_9_10_12_13_14_15_MacBookAir10,1_MacBookPro17,1_MacBookPro18,1_2_3_4_Macmini9,1_VirtualMac2,1_iMac21,1_2/kernelcache.release.VirtualMac2,1": [
    "VirtualMac2,1"
  ]
}

from ipsw.

blacktop avatar blacktop commented on September 26, 2024

I can try and do something similar with the ipsw downloader --kernel commands?

I'm also planning on adding a templating engine to allow users to customize the extracted file directory/filename as well (but don't have a firm timeline for that feature yet)

from ipsw.

kit-981 avatar kit-981 commented on September 26, 2024

I missed --json on ipsw extract. That's enough for me. Thanks!

from ipsw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.