Skip to content

Splitting can also be accomplished with a one-liner on the command line #3

@joshenders

Description

@joshenders

With the GNU split command installed as gsplit (either via MacPorts or Homebrew), this program can be accomplished with the following one liner on macOS or Linux.

for file in *.nsp; do mkdir "${file%%nsp}nca" && gsplit -b4294901760 --numeric-suffixes=00 "${file}" "${file%%nsp}nca"/"";```

You'll then need to set the archive bit on the .nca directory. You can use NX-shell for that (select the .nca and hit Y for options)

This hasn't been tested under Sonoma but this also used to work directly under macOS: https://github.com/joshenders/macos_eject/blob/master/_macos_eject.command#L102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions