From df518b0e60eec2263401afe01d65a45d6d0fe5a7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 8 Jan 2025 14:36:02 +0700 Subject: [PATCH] updated find_symlinks_to_other_directories.sh --- bin/find_symlinks_to_other_directories.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/find_symlinks_to_other_directories.sh b/bin/find_symlinks_to_other_directories.sh index 342794ff0bb..779fe58dc90 100755 --- a/bin/find_symlinks_to_other_directories.sh +++ b/bin/find_symlinks_to_other_directories.sh @@ -34,5 +34,5 @@ help_usage "$@" min_args 1 "$@" find "$1" -type l -exec ls -l {} \; | -grep -F -- ' -> /' | +grep -F -- ' -> .*/' | awk '{$1=$2=$3=$4=$5=$6=$7=$8=""; print}'