PiShrink is a bash script designed to automatically shrink Raspberry Pi images, making them easier to store and faster to flash onto SD cards. Once the shrunk image is booted, it will automatically resize itself to match the maximum capacity of the target SD card. The tool also supports compression using gzip and xz, with an option for parallel compression across multiple CPU cores to improve speed.
Key points:
- Automatic shrinking of Raspberry Pi images
- Boot-time filesystem expansion to full SD card size
- Support for parallel multi-core compression
- Compatibility with Linux, Windows (via WSL 2), and macOS (via Docker)