man-pages/man1/cleanlinks.1.html
2021-03-31 01:06:50 +01:00

77 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of cleanlinks</TITLE>
</HEAD><BODY>
<H1>cleanlinks</H1>
Section: User Commands (1)<BR>Updated: imake 1.0.7<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
cleanlinks - remove dangling symbolic links and empty directories
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>cleanlinks</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<I>cleanlinks</I>
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.
<P>
<I>cleanlinks</I>
is useful for cleaning up a shadow link tree created with
<B><A HREF="/cgi-bin/man/man2html?1+lndir">lndir</A></B>(1)
after files have been removed from the real directory.
<A NAME="lbAE">&nbsp;</A>
<H2>DIAGNOSTICS</H2>
A message will be printed upon encountering each dangling symlink and empty
directory.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+lndir">lndir</A></B>(1).
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
<P>
The version of the
<I>cleanlinks</I>
included in this X.Org Foundation release was originally written
by David Dawes wrote as a part of XFree86.
<P>
Colin Watson wrote this manual page, originally for the Debian Project.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">DIAGNOSTICS</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:09 GMT, March 31, 2021
</BODY>
</HTML>