[Yum-devel] New yum commandline option

seth vidal skvidal at linux.duke.edu
Thu Jan 5 14:13:42 UTC 2006


On Thu, 2006-01-05 at 06:02 -0800, Panu Matilainen wrote:
> On Thu, 5 Jan 2006, Ignacio Vazquez-Abrams wrote:
> >>
> >> If i have to do the same to day i have to type.
> >> yum --enablerepo=development --disablerepo=base --disablerepo=extras
> >> --disablerepo=livna --disablerepo=updates-released update
> >
> > Not true. --disablerepo and --enablerepo take wildcards.
> >
> > yum --disablerepo=\* --enablerepo=development
> > --enablerepo=extras-development update
> 
> ..and that can be shortened even more :)
> yum --disablerepo='*' --enablerepo='*development*'
> 

and even more:

yum --disablerepo=\* --enablerepo=\*develoment\*

see - the \ saves one whole character in the first one! :)

/me goes back to his hole, now.

-sv





More information about the Yum-devel mailing list