I have a Raspberry Pi distribution on a bootable 32 GB SD card. What I would like to do, is the following:
Shrink the partition to 4 GB (that's the size of the data on the card).
Create an .img file from that SD card, so I can use it to create other bootable SD cards
Any ideas? A newbie here.