<div>Hi Barry,</div>
<div> </div>
<div><span class="gmail_quote">2006/12/6, Barry Yu <<a href="mailto:barryyu-cts@sbcglobal.net">barryyu-cts@sbcglobal.net</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I downloaded and stored all the rpm update packages in folder where I plan to use for other new install of Fedora systems so each of them won't need to do yum update through Internet. 
<br>When I used yum localupdate /mnt/allrpmupdates/*.rpm, the yum displayed  a message "arguement list too long" and then stopped doing anything, when I issued yum localupate /mnt/allrpmupdates/a*.rpm , yum started the local update and I have to repleat yum localupdate b*.rpm, c*.rpm to z*.rpm.
<br>Is there any way to use the yum localupdate to do the localupate at one time ?</blockquote>
<div> </div>
<div>What you say is not really a problem but is a normal behavior of bash. As you write</div>
<div>  yum locaupdate *.rpm</div>
<div>bash expand the list *.rpm which I suppose is far longer than 255 element (AFAIK) and then you return the error.</div>
<div>This is normal for *all* the programs you invoke under bash.</div>
<div>Now, you can use xargs to pass a longer list of arguments to a program as:</div>
<div>  ls *.rpm | xargs -n1 yum localupdate </div>
<div>or you can construct a for i in $(ls *.rpm) ... loop to do the same. Personally I prefer the xargs approach.</div>
<div> </div>
<div>HTH</div>
<div>-- <br>Alessandro Brezzi<br> </div></div>