🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15376

Re: A script to find and remove empty directories

#15376
From: Michael Hucka
Date: Wed, 26 Feb 1997 00:00
28 lines
1682 bytes
>>>>> On 25 Feb 1997, Jeff Garzik <jeff.garzik@spinne.com> wrote:

  JG> Here is a quick and dirty Perl script that removes empty directories
  JG> recursively.  There may be some way to do this with shell utils, but it
  JG> was faster for me to simply write this.  :) It should be easy to modify
  JG> the output to show newsgroups removed, for logging purposes or
  JG> whatever.

I don't mean this in any rude way, but it turns out there are probably a
half-dozen other programs available to do this task.

See the following web pages:

    http://www.math.psu.edu/barr/INN.html
    ftp://ftp.isc.org/isc/inn/unoff-contrib/

One of the most efficient programs for this task is Matt Dillon's newsprune,
available from the following site:

    http://www.backplane.com/news/

-- 
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

Technical Details
Message-ID: <82ybccj8wr.fsf@parrot.eecs.umich.edu>
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: <33132F95.54538512@spinne.com>

Show Full Headers
Complete Article Headers
Message-ID: <82ybccj8wr.fsf@parrot.eecs.umich.edu>
Subject: Re: A script to find and remove empty directories
Date: Wed, 26 Feb 1997 00:00:00 +0000
From: Michael Hucka <hucka@eecs.umich.edu>
References: <33132F95.54538512@spinne.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
X-Deja-AN: 221513219
To: Jeff Garzik <jeff.garzik@spinne.com>
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
Newsgroups: news.software.nntp