PiShrink: Difference between revisions

From SBCGaming Wiki
Jump to navigation Jump to search
Line 6: Line 6:


== Usage ==
== Usage ==
[[code]] sudo pishrink.sh [-s] imagefile.img [newimagefile.img] [[/code]]
''sudo pishrink.sh [-s] imagefile.img [newimagefile.img]''

Revision as of 02:21, 8 September 2020

Project Homepage:

https://github.com/Drewsif/PiShrink

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. This will make putting the image back onto the SD card faster and the shrunk images will compress better.


Usage

sudo pishrink.sh [-s] imagefile.img [newimagefile.img]