Monday, April 29, 2024

PiShrink: a bash script to shrink a Raspberry Pi image

PiShrink is a bash script that automatically shrink a pi image that will then resize to the max size of the SD card on boot, authored by Drew Bonasera.

This will make putting the image back onto the SD card faster and the shrunk images will compress better. In addition the shrunk image can be compressed with gzip and xz to create an even smaller image. Parallel compression of the image using multiple cores is supported.

Check out this MIT licensed feature on GitHub.

No comments:

Post a Comment