On Wed, 18 Sep 2019 at 22:57, <to...@tuxteam.de> wrote:
> On Wed, Sep 18, 2019 at 02:42:21PM +0200, Jonas Smedegaard wrote:

> >   $ unzip foo.zip
> >   $ su -c "cp image-unpacked-from-foo-zip /dev/sd_"
>
> Also spelt "zcat foo.zip > /dev/sd_" for those who don't want to
> leave a file around they have to delete later.
>
> > dd is *not* a better tool for this task - that's just false rumors.
>
> I don't know about "better", but it's the right tool for that job,
> affording you
>
> - unbuffered output (oflag=direct) for when you don't want
>   to wait for ages after dd has finished while your system
>   is flushing buffers (or worse, pull the stick/card out
>   while buffers are not flushed because you think copy is
>   ready, leading to funny results)
>
> - progress display (either by sending it an USR1 signal or
>   by stating "status=progress".

Plus:
-  does not require/waste disk space for large image-unpacked-from-foo-zip
-  Gene asked for "a command", not commands ;p

Reply via email to