Skip to content

Instantly share code, notes, and snippets.

@pexcn
Created January 4, 2020 08:04
Show Gist options
  • Save pexcn/00b07f4687b249e16dc9ffb65d9c3f53 to your computer and use it in GitHub Desktop.
Save pexcn/00b07f4687b249e16dc9ffb65d9c3f53 to your computer and use it in GitHub Desktop.
# unpack
bsdcpio -id < ../extra.lzma

# repack
find . | cpio -o --format='newc' --owner root:root | lzma > ../extra.lzma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment