Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate USB Drives



 Matt Kowalski wrote: 
> Does anyone know how to duplicate a source USB thumb drive to multiple 
> target drives in Linux?  I was thinking *dd* should work but how do I 
> specify multiple outputs for each device? 

dd only allows you to specify one output, so you'll need to write a for-loop 
in your favorite shell scripting language. 

Or, you could get clever can use a chain of tee commands (note that by not 
specifying an output device, it defaults to stdout): 

  dd if=/dev/source | tee /dev/dest1 | tee /dev/dest2 ... 

HTH, 
Matt 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org