MirBSD manpage: cleanlinks(1)


cleanlinks(1)       UNIX Programmer's Manual        cleanlinks(1)

NAME

     cleanlinks - remove dangling symbolic links and empty direc-
     tories

SYNOPSIS

     cleanlinks

DESCRIPTION

     The cleanlinks program searches the directory tree descended
     from the current directory for symbolic links whose targets
     do not exist, and removes them. It then removes all empty
     directories in that directory tree.

     cleanlinks is useful for cleaning up a shadow link tree
     created with lndir(1) after files have been removed from the
     real directory.

DIAGNOSTICS

     A message will be printed upon encountering each dangling
     symlink and empty directory.

SEE ALSO

     lndir(1).

AUTHOR

     David Dawes wrote the cleanlinks program for XFree86.

     Colin Watson wrote this manual page, originally for the
     Debian Project.

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.