Click to See Complete Forum and Search --> : RPM Question


thonot
10-14-2000, 08:20 PM
Can I pipe the output of the ls command into rpm to install/upgrade all of the packages in a directory? I was thinking of something along the lines of: ls | rpm ?----?
If that won't work is there any other way to install all the packages in a directory from the commandline???

rendler
10-14-2000, 09:22 PM
rpm -Uvh `ls *.rpm`

thonot
10-15-2000, 02:25 AM
thank you, thank you, thank you, a thousand thanks, you don't know how much time you've saved me. http://www.linuxnewbie.org/ubb/smile.gif

rendler
10-15-2000, 09:49 AM
Glad I could help though i should have just said `rpm -Uvh *.rpm` but it was kinda late when I posted it :P