On Thu, Oct 27, 2005 at 11:56:47AM +1000, Howard Lowndes wrote:
Not that it necessarily helps, but do you know you can rsync?
e.g. for fedora extras;
rsync://rsync.planetmirror.com/fedora/linux/extras/
> My problem is that my local repo is full of old updates that I would
> like to cull, but the naming conventions on the various files do not
> appear to be consistent, thus making auto cull difficult, eg>
>
> this-file-1.2.9.i386.rpm is obvious to the human eye earlier than
> this-file-1.2.10.i386.rpm as well as having a later create date, but,
> sortwise, it orders differently (yes, I know that sort has the -n option
> but the variance is not always numeric).
-v does version number sorting:
$ ls -1 (that's a one for one column, not an ell)
this-file-1.2.10.i386.rpm
this-file-1.2.9.i386.rpm
$ ls -v
this-file-1.2.9.i386.rpm this-file-1.2.10.i386.rpm
$ ls -v1
this-file-1.2.9.i386.rpm
this-file-1.2.10.i386.rpm
> Has anyone resolved this problem on their own networks?
I just haven't bothered, it's not that much extra space used.
--
Matt
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html