Quoting to...@tuxteam.de (2019-09-18 14:57:43)
> On Wed, Sep 18, 2019 at 02:42:21PM +0200, Jonas Smedegaard wrote:
> > Quoting Gene Heskett (2019-09-18 13:46:38)
> > > On Tuesday 17 September 2019 22:05:28 David wrote:
> > > > On Wed, 18 Sep 2019 at 08:17, Gene Heskett 
> > > > <ghesk...@shentel.net> wrote:
> > > > > what linux command will unpack the .zip and put it on the 
> > > > > card?
> > 
> > [...]
> > 
> > > > 3) write the SD card
> > > > (replace my /dev/sd_ with your SD card device,
> > > > without any partition number):
> > > 
> > > > # unzip -p raspbian_latest.zip | dd bs=4M of=/dev/sd_ status=progress 
> > > > conv=fsync
> > > 
> > > This last is what I was looking for, thank you, and I'll give it 
> > > all a shot later today. In fact, card is written.
> > 
> > Essentiall you want to copy all raw content onto the raw device.
> > 
> > This works too (and not only with specially crafted zip files):
> > 
> >   $ 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.

...for specially crafted zip files containing only a single file, yes.

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to