Script for creating a compressed image file from a Raspbian SD card
I’ve previously presented a manual process for doing this, but lately I’ve had to do it more often, and I figured it was about time for automation. This script will: Run e2fsck on the root file system Erase logfiles, such as bash_history and stuff in /var/log Erase the test.h264 video file Wipe resolv.conf Defragment the […]