joe@petsd.UUCP (Joe Orost) (03/09/85)
Looking through my /usr/spool/news/*, I find may articles with dates going back to november of last year. Why does this happen? Does anybody have a program/script that I can run which will delete these old files (prior to a date I specify)? It doesn't matter how slow it is, as I just want to run it once in a long while (like 6-months). regards, joe -- Full-Name: Joseph M. Orost UUCP: ..!{decvax,ucbvax,ihnp4}!vax135!petsd!joe ARPA: vax135!petsd!joe@BERKELEY US Mail: MS 313; Perkin-Elmer; 106 Apple St; Tinton Falls, NJ 07724 Phone: (201) 870-5844 Location: 40 19'49" N / 74 04'37" W
avolio@grendel.UUCP (Frederick M. Avolio) (03/10/85)
> ... I find may articles with dates going back to ... last year... Does > anybody have a program/script ... which will delete these old files ... A while back (few months?) someone posted a shell script called histmiss which found all of the articles not in the history file (and so those which would never be expired). There is no name in the comments so I do not know who posted it, but I've mailed it to you and can mail a copy to whomever wants (though I'll repost it if this gets out of hand). -- Fred Avolio {decvax,seismo}!grendel!avolio 301/731-4100 x4227
dave@lsuc.UUCP (David Sherman) (03/11/85)
find /usr/spool/news -mtime +14 -exec rm -f {} ';' That will clear up your disk space, which I assume is what you are concerned about. It might leave the news system thinking some articles exist which don't, but that doesn't matter much. Dave Sherman -- {utzoo pesnta nrcaero utcs hcr}!lsuc!dave {allegra decvax ihnp4 linus}!utcsri!lsuc!dave
guy@rlgvax.UUCP (Guy Harris) (03/12/85)
> > ... I find may articles with dates going back to ... last year... Does > > anybody have a program/script ... which will delete these old files ... > > A while back (few months?) someone posted a shell script called > histmiss which found all of the articles not in the history file (and > so those which would never be expired). In 2.10.2, at least, "expire -r" will not only find those articles, but will put them back in the history file where they belong. It takes a while, because it reads the header of every article, but it's worth doing every so often (things leak out of the history file now and then). -- Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy
laura@utzoo.UUCP (Laura Creighton) (03/14/85)
Some people have posted news that they do not want expired. Emily Post for Usenet is such an article. You may want to check which articles you are going to remove before you remove them incase they are not being expired for a very good reason. Laura Creighton utzoo!laura