On 06/03/2019 06:50, R.Wieser wrote:
> Hello all,
>
> I'm intending to do a raw backup (alike DD do if I'm not mistaken) of the SD
> card on a Windows machine and than zipping it. For that reason I would like
> to clear all unused sectors before making the copy, as than the zipping will
> result in the smallest possible file.
>
> Q: Does Stretch have a program available which can do that, and if so which
> is it ?
>
> Regards,
> Rudy Wieser
>
>
Mmm. I suspect you will be out of luck.
The only way to make sectors that are not in use zero that I can think
of, is to do a complete write of a blank piece of something..with zeros
and copy only the valid data ontop it.
That means working at the file copy level, not the DD level.
i.e. you need to create a new partion system that is all zeros, except
the partion inmformation of course, then copy all the files onto it and
then zip the lot up.
--
If I had all the money I've spent on drink...
..I'd spend it on drink.
Sir Henry (at Rawlinson's End)
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|