yum downloadonly

Timothy Murphy tim at birdsnest.maths.tcd.ie
Fri Jul 20 22:46:15 UTC 2007


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




More information about the users mailing list