summaryrefslogtreecommitdiffstats
path: root/dead_links
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-14 08:48:07 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-14 08:48:07 +0200
commitd9cec27a2f5b49e99325e14f388e840cc22bb951 (patch)
tree671b7d64f5244498c0091395d7c1a1cbe0e0b855 /dead_links
parenta1545765f7a22f8d649539692c234c5d67714ff2 (diff)
downloadbin-d9cec27a2f5b49e99325e14f388e840cc22bb951.zip
bin-d9cec27a2f5b49e99325e14f388e840cc22bb951.tar.gz
add dead_links
Diffstat (limited to 'dead_links')
-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 '{}' \;