---- Original Message ----
From: "Johnson, Tracy" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, October 29, 2002 5:35 PM
Subject: Re: [HP3000-L] Deleting All But The Last n Names in a Fileset
> O.K. bad example, try again.
> I want to discard all but the last three, and the date stamps
> of the files may vary, because these are RESTOREd files in
> test groups, not production data. The original dates
> could be ancient. (However the dates will still be
> relative to each other. Larry came up with a winning
> solution, in a separate e-mail.)
I was about to ask for the definition of 'last'. Last in a LISTF alphanumeric
order of name, or what?
But now it's solved. Are you going to share?
I'd count the files, build a file n records smaller, LISTF the filenames into
it, and then feed each line to PURGE.
But maybe it's not that definition of 'last' :-(
--
Roy Brown
Posting with the OEnemy, tamed by OE-QuoteFix 1.17.6
http://jump.to/oe-quotefix
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|