summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdead_links4
1 files changed, 4 insertions, 0 deletions
diff --git a/dead_links b/dead_links
new file mode 100755
index 0000000..a83fe2e
--- /dev/null
+++ b/dead_links
@@ -0,0 +1,4 @@
+#! /bin/sh
+DIR=${1:-$HOME}
+echo "find $DIR -maxdepth 1 -type l -a ! -readable -exec ls -l '{}' \;"
+find $DIR -maxdepth 1 -type l -a ! -readable -exec ls -l '{}' \;