1cleanlinks(1) General Commands Manual cleanlinks(1)
2
3
4
6 cleanlinks - remove dangling symbolic links and empty directories
7
9 cleanlinks
10
12 The cleanlinks program searches the directory tree descended from the
13 current directory for symbolic links whose targets do not exist, and
14 removes them. It then removes all empty directories in that directory
15 tree.
16
17 cleanlinks is useful for cleaning up a shadow link tree created with
18 lndir(1) after files have been removed from the real directory.
19
21 A message will be printed upon encountering each dangling symlink and
22 empty directory.
23
25 lndir(1).
26
28 The version of the cleanlinks included in this X.Org Foundation release
29 was originally written by David Dawes wrote as a part of XFree86.
30
31 Colin Watson wrote this manual page, originally for the Debian Project.
32
33
34
35X Version 11 imake 1.0.8 cleanlinks(1)