🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by David Paigen Thu, 02 Oct 1997 00:00
getting rid of @!#$^ pictures
#22058
Author: David Paigen
Date: Thu, 02 Oct 1997 00:00
26 lines
1489 bytes
My /var/news/alt keeps filling up with dumb pictures.  I don't want
to set my expire times really low, but those pictures are forcing
me to.

What I am looking for is a program or script that will take a list of
directories and an expire time, and then walk through the directories
(and their subdirs) looking for articles that a) are gifs or jpgs, and
b) are older than the expire time.  I would then run this script a
couple times a day, and hopefully my spool will not liff up as often.

Does anyone have something like that?  Please send me email.  I
will summarize if there is interest.

Thanks,
-David Paigen, admin, news.erg.sri.com
paigen@forte.org


-- 
David Paigen              Will answer stupid user      paigen@forte.org
Avid Technology             questions for beer.         Sir Henry Lee
Manager, Machine Control        (good beer)            Queen's Champion
david_paigen@avid.com                                 Renaissance  Faire

Re: getting rid of @!#$^ pictures
#22064
Author: Ron Echeverri
Date: Thu, 02 Oct 1997 00:00
18 lines
1334 bytes
In article <610mfg$kvf@forte.heathen.com>,
David Paigen <paigen@forte.heathen.com> wrote:
>What I am looking for is a program or script that will take a list of
>directories and an expire time, and then walk through the directories
>(and their subdirs) looking for articles that a) are gifs or jpgs, and
>b) are older than the expire time.  I would then run this script a
>couple times a day, and hopefully my spool will not liff up as often.

You probably could use <URL:http://www.tju.edu/~theall1/tools/purge-binaries/>

rone
-- 
Ron Echeverri		<URL:http://www.ennui.org/~rone/>	<rone@best.net>
Systems/Usenet Administration			  "This is _my_ ISP, _i_ do the
Best Internet Communications, Inc.	     ass-kicking around here!" -rpwhite

Re: getting rid of @!#$^ pictures
#22073
Author: Eli the Bearded
Date: Fri, 03 Oct 1997 00:00
15 lines
1592 bytes
Olaf Titz <olaf@bigred.inka.de> wrote:
> Try this one.
...
(in the body check)
> 	    /^Content-Type:.*application/i && return "Mx";

Are you *sure* you want to kill application/pgp-signature? That
is one that even Usenet II considers "sound".

Elijah
------
it is pretty rare though

Re: getting rid of @!#$^ pictures
#22092
Author: Jeremy
Date: Fri, 03 Oct 1997 00:00
28 lines
1662 bytes
[posted and mailed]
David Paigen <paigen@forte.heathen.com> wrote:

> My /var/news/alt keeps filling up with dumb pictures.  I don't want
> to set my expire times really low, but those pictures are forcing
> me to.
> 
> What I am looking for is a program or script that will take a list of
> directories and an expire time, and then walk through the directories
> (and their subdirs) looking for articles that a) are gifs or jpgs, and
> b) are older than the expire time.  I would then run this script a
> couple times a day, and hopefully my spool will not liff up as often.
> 
> Does anyone have something like that?  Please send me email.  I
> will summarize if there is interest.

The next version of my spamfilter will have a configurable option
to block binaries in non-binary groups.  Not exactly what you're
looking for, but it'll keep them off the spool completely.  I'm
testing it now to see if it's less of a load than running a
purge-binaries channel.

-- 
Jeremy  |  jeremy@exit109.com
"Never tell me the odds."  --Han Solo

Re: getting rid of @!#$^ pictures
#22242
Author: bill davidsen
Date: Fri, 10 Oct 1997 00:00
27 lines
1824 bytes
In article <610mfg$kvf@forte.heathen.com>,
David Paigen <paigen@forte.heathen.com> wrote:

| What I am looking for is a program or script that will take a list of
| directories and an expire time, and then walk through the directories
| (and their subdirs) looking for articles that a) are gifs or jpgs, and
| b) are older than the expire time.  I would then run this script a
| couple times a day, and hopefully my spool will not liff up as often.

The obvious is to go through the alt.binaries groups with a small
expire time, don't see that you will lose much by zapping non-binary
sex ads. Or you can just blast anything over a given size regardless
of content, which is probably 99% binary anyway.

find alt -type f -mtime +3 -size +10 -print | fastrm $PWD

Since binaries can be MIME, or other base64, or uuencoded, or
whatever, you can't always identify them.
--
    bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
The net serves four of the five physical senses. You can get sight, and
sound, and to a limited extent tactile feedback. No one would deny that
some portions of the net smell, but I see no signs that taste will ever
come to the net.  -me

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