[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum downloadonly



Todd Zullinger wrote:

> Check out repomanage from yum-utils.  You could use it something like
> this to move old packages to an archive dir (or remove them):
> 
> repo=/path/to/cache
> archive=/path/to/archive
> repomanage --old $repo | while read package; do
>     mv "$package" $archive
> done

I didn't quite understand this.
If you wanted to remove the old packages
couldn't you just say "yum clean cache"?


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]