[NTLUG:Discuss] Output to Multiple Files - Now More

Greg Edwards greg at nas-inet.com
Thu Apr 7 10:30:41 CDT 2005


David Wilson wrote:

> I can not seem to get the output after it is split to
> pipe into Tee.
> 
> Any suggestions?
> 
> This is what I am trying
> 
> dd if=/dev/sdb |split -b 640m | tee file1 > file2
> 
> 
> Thanks
> 
> David
> 

Split sends its output to files not stdout.  You're probably going to need 
to do a loop to get the results of the split to the tee.

-- 
Greg Edwards
New Age Software, Inc.
Custom software for an off the rack world
http://consult.nas-inet.com




More information about the Discuss mailing list