using 'dd' from one source to multiple destinations
Robert Brockway
rbrockway-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org
Mon Jan 24 17:15:27 UTC 2005
On Mon, 24 Jan 2005, Robert Brockway wrote:
> DISKS="sdb sdc sdd"
> for I in $DISKS
> do
> dd if=/dev/sda of=/dev$I &
> done
Woops, typo:
DISKS="sdb sdc sdd"
for I in $DISKS
do
dd if=/dev/sda of=/dev/$I &
done
Rob
--
Robert Brockway B.Sc.
Senior Technical Consultant, OpenTrend Solutions Ltd.
Phone: 416-669-3073 Email: rbrockway-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org http://www.opentrend.net
OpenTrend Solutions: Reliable, secure solutions to real world problems.
Contributing Member of Software in the Public Interest (www.spi-inc.org)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list