Skip to content

Instantly share code, notes, and snippets.

Created September 2, 2022 06:57
What would you like to do?
# Decompress a .cpio.gz packed file system
rm -rf ./initramfs && mkdir initramfs
pushd . && pushd initramfs
cp ../initramfs.cpio.gz .
gzip -dc initramfs.cpio.gz | cpio -idm &>/dev/null && rm initramfs.cpio.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment