Git init
[framework/uifw/xorg/util/xutils-dev.git] / imake / cleanlinks.man
1 .TH cleanlinks 1 __vendorversion__
2 .SH NAME
3 cleanlinks \- remove dangling symbolic links and empty directories
4 .SH SYNOPSIS
5 .B cleanlinks
6 .SH DESCRIPTION
7 The
8 .I cleanlinks
9 program searches the directory tree descended from the current directory for
10 symbolic links whose targets do not exist, and removes them.
11 It then removes all empty directories in that directory tree.
12 .PP
13 .I cleanlinks
14 is useful for cleaning up a shadow link tree created with
15 .BR lndir (1)
16 after files have been removed from the real directory.
17 .SH DIAGNOSTICS
18 A message will be printed upon encountering each dangling symlink and empty
19 directory.
20 .SH SEE ALSO
21 .BR lndir (1).
22 .SH AUTHOR
23 .PP
24 The version of the 
25 .I cleanlinks
26 included in this X.Org Foundation release was originally written 
27 by David Dawes wrote as a part of XFree86.
28 .PP
29 Colin Watson wrote this manual page, originally for the Debian Project.