I want to backup an image and I have a 8go sd card. I don't want to backup all my card. So I want to backup an image .img shrinked and remove unused space.
I only have a macbook. So I can't use gparted of zerofree to shrink my image.
Someone can explain me, how to get a minimal image direct from raspberry ?
I used dd if=... of=... count=... bs=1M, but this command is not general, i already get corrupted image..
Thank for help.