diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-14 08:48:07 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-14 08:48:07 +0200 |
commit | d9cec27a2f5b49e99325e14f388e840cc22bb951 (patch) | |
tree | 671b7d64f5244498c0091395d7c1a1cbe0e0b855 | |
parent | a1545765f7a22f8d649539692c234c5d67714ff2 (diff) | |
download | bin-d9cec27a2f5b49e99325e14f388e840cc22bb951.zip bin-d9cec27a2f5b49e99325e14f388e840cc22bb951.tar.gz |
add dead_links
-rwxr-xr-x | dead_links | 4 |
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 '{}' \; |