🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13624

Re: Expiring Problem

#13624
From: Ted Deppner
Date: Tue, 31 Dec 1996 00:00
19 lines
1020 bytes
In article <32c830d6.60481952@news.muskoka.net>,  <rick@muskoka.net> wrote:
>
>find /var/news/spool -type f -ctime +3 -exec rm -rf {} \; &
>

That's pretty expensive, and potentially dangerous... ( and there is
no need for -r on rm )

find /var/news/spool -type f -ctime +3 | xargs rm -f

is far more effecient...  best would be some fastrm variant though.

-- 
Ted Deppner
ted@psyber.com
http://www.psyber.com

Technical Details
Message-ID: <5aa5gh$65d$1@warez.psyber.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5a7oph$6sv@alpine.psnw.com> <32c830d6.60481952@news.muskoka.net>

Show Full Headers
Complete Article Headers
Message-ID: <5aa5gh$65d$1@warez.psyber.com>
Subject: Re: Expiring Problem
Date: Tue, 31 Dec 1996 00:00:00 +0000
From: ted@jasmine.psyber.com (Ted Deppner)
References: <5a7oph$6sv@alpine.psnw.com> <32c830d6.60481952@news.muskoka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 206878375
Distribution: inet
Organization: Psyberware Internet Access
Newsgroups: news.software.nntp