Thread View: news.software.nntp
7 messages
7 total messages
Started by Jeremy
Wed, 05 Aug 1998 00:00
Is there any method to remove old files ?
Author: Jeremy
Date: Wed, 05 Aug 1998 00:00
Date: Wed, 05 Aug 1998 00:00
12 lines
805 bytes
805 bytes
Hi.. I'm the administrator of Usenet News service. I had mistake to execute expire for a few weeks. So I can't delete old files which expire can not delete. Is there any method to delete old files. Or Should I program any other functions? Wait for expert's answers.
Re: Is there any method to remove old files ?
Author: karmic acid
Date: Wed, 05 Aug 1998 00:00
Date: Wed, 05 Aug 1998 00:00
14 lines
1033 bytes
1033 bytes
In article <6q8rsf$h7m$1@news.kornet.nm.kr>, Jeremy <ymkim@pine.kotel.co.kr> wrote: >I'm the administrator of Usenet News service. Well, Jeremy does seem to be a popular name. rone -- NASA uses Windows? Oh great. If Apollo 13 went off course today the manual would just tell them to open the airlock, flush the astronauts out, and re-install new ones. - Kibo
Re: Is there any method to remove old files ?
Author: howard
Date: Wed, 05 Aug 1998 00:00
Date: Wed, 05 Aug 1998 00:00
17 lines
959 bytes
959 bytes
In Article<6q8rsf$h7m$1@news.kornet.nm.kr>, <ymkim@pine.kotel.co.kr> writes: > I'm the administrator of Usenet News service. > I had mistake to execute expire for a few weeks. So I can't delete old files which expire can not delete. > Is there any method to delete old files. Why can't you use expire to delete the old articles?
Re: Is there any method to remove old files ?
Author: Greg Andrews
Date: Wed, 05 Aug 1998 00:00
Date: Wed, 05 Aug 1998 00:00
22 lines
1270 bytes
1270 bytes
howard@wdsec.com writes: > >In Article<6q8rsf$h7m$1@news.kornet.nm.kr>, <ymkim@pine.kotel.co.kr> writes: > >> I'm the administrator of Usenet News service. >> I had mistake to execute expire for a few weeks. So I can't delete old >files which expire can not delete. >> Is there any method to delete old files. > >Why can't you use expire to delete the old articles? > Expire only deletes them if there's a history entry for them. That's not always the case. Run a cron job that uses find to search for and delete article files that are older than your longest expire time. 30 days has been a good value for me in times past. -Greg
Re: Is there any method to remove old files ?
Author: Jeremy
Date: Thu, 06 Aug 1998 00:00
Date: Thu, 06 Aug 1998 00:00
14 lines
1044 bytes
1044 bytes
karmic acid <rone+usenet@ennui.org> wrote: > Jeremy <ymkim@pine.kotel.co.kr> wrote: > >>I'm the administrator of Usenet News service. > > Well, Jeremy does seem to be a popular name. We crop up, from time to time. -- Jeremy | jeremy@exit109.com Here's a nickel, kid. Go buy yourself a real computer.
Re: Is there any method to remove old files ?
Author: Paul Southworth
Date: Fri, 07 Aug 1998 00:00
Date: Fri, 07 Aug 1998 00:00
26 lines
1577 bytes
1577 bytes
In article <6q8rsf$h7m$1@news.kornet.nm.kr>, Jeremy <ymkim@pine.kotel.co.kr> wrote: >I had mistake to execute expire for a few weeks. So I can't delete old >files which expire can not delete. >Is there any method to delete old files. There are three utilities available that I know of which will generate a list of articles found in the spool that aren't in the history database (and then you can use fastrm or 'xargs rm' to remove them). Two are perl scripts: ftp://ftp.isc.org/isc/inn/unoff-contrib/findmissing.pl and the 'ncc' variant found in this package: ftp://ftp.isc.org/isc/inn/unoff-contrib/newstools-1.3.tar.gz And then there is another called 'missart' which is written in C. It doesn't appear to be in the INN unoff-contrib archive, but I'll send you a copy if you want it. --Paul
Re: Is there any method to remove old files ?
Author: Mike Marler
Date: Fri, 07 Aug 1998 00:00
Date: Fri, 07 Aug 1998 00:00
12 lines
1027 bytes
1027 bytes
Example to remove articles over 10 days old and assuming the directory containing find and fastrm are in your path. cd /var/spool/news find . -type f -name "[1-9]*" -mtime +10 -print | fastrm -s -u /var/spool/news -- Mike Marler Information Technology, Georgia Tech mike.marler@oit.gatech.edu Atlanta, Georgia 30332-0715
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads