On Sun, Jul 19, 2009 at 10:22 AM, Dwight Hubbard
<[email protected]>wrote:

> This command will give you a space separated list of all the RPMS
> rpm -qa --qf "%{NAME} " > rpmlist.txt
>
> This should pass the list to yum on the command line
> sudo "yum install `cat rpmlist.txt`"
>
> However if the list is to long it might exceed the length of a single
> command
> line, so it might work better to do a simple loop, like this
>

Sounds like a job for xargs.

Jason
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to