tee is the answer, methinks

dd if=/dev/mmcblk0p1 of=- | tee /dev/mmcblk1p1 /dev/mmcblk2p1 /dev/mmcblk3p1

I haven't tried it yet, but I will.

AJ ONeal


On Tue, Mar 23, 2010 at 10:56 AM, David Hilton
<[email protected]>wrote:

> On Tue, Mar 23, 2010 at 4:24 PM, AJ ONeal <[email protected]> wrote:
> > Let's say I've got 5 sd card readers hooked up and I want to copy from
> one
> > of them to the other 4.
> > (which would cost significantly less than one of these $1k duplicators on
> > amazon)
> > How would I go about copying to multiple block devices at once?
>
> It's not built into cp, you're going to have to do some magic with
> bash or some other programmable environment.
>
> If you feel particularly lazy, try searching for 'multiple destination cp'.
>
> David
> --------------------
> BYU Unix Users Group
> http://uug.byu.edu/
>
> The opinions expressed in this message are the responsibility of their
> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
> ___________________________________________________________________
> List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
>
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to