🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7462

how to remove old symlinks to non-existing files

#7462
From: charlie
Date: Fri, 10 May 1996 00:00
14 lines
968 bytes
we have bsdi 2.1 running INN 1.4 unoff2.
expire flags are -v1 -l -z/var/log/news/expire.rm

I've found a lot 100's-1,000's of symlink across file systems that no longer 
have the original file to link to.  Is there a script that is already written 
that will scan for link type files and then remove it if the original link is 
missing and then update .overview?

tia 
charlie


Technical Details
Message-ID: <4n0k3a$mks@news01.deltanet.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

Show Full Headers
Complete Article Headers
Message-ID: <4n0k3a$mks@news01.deltanet.com>
Subject: how to remove old symlinks to non-existing files
Date: Fri, 10 May 1996 00:00:00 +0000
From: charlie@delta.net (charlie)
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: 154204733
Distribution: inet
Content-type: Text/Plain; charset=US-ASCII
Organization: delta net
Mime-version: 1.0
Newsgroups: news.software.nntp