From d9cec27a2f5b49e99325e14f388e840cc22bb951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 14 Jun 2011 08:48:07 +0200 Subject: add dead_links --- dead_links | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 dead_links 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 '{}' \; -- cgit v1.1-2-g2b99