> > > Does anyone have a script to move old updates to another directory and > > keep new updates in one directory. I tried writing one, but the major > > problem is the version nomenclature. Some packages have "+"signs, some > > have words in them, there isn't a consistency here. How does redhat > > keep there online repository in order, can I get a hold of a script? > > Get RPM to parse for you in your script, eg > > rpm -qp /path/to/rpmfile.rpm --queryformat "%{NAME} %{VERSION} %{ARCH}" > > Then use cut, etc to get the whitespace delimited output. That's brilliant. I wish I knew it before. Thanks for your help. Dan