From 98ad1233c5a8f16b73b622b0025837b99bff1f3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 12 Jul 2021 17:37:30 +0200 Subject: [PATCH] include symlinked videos in list --- indexmeta.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexmeta.sh b/indexmeta.sh index 43e360d..e37e5da 100644 --- a/indexmeta.sh +++ b/indexmeta.sh @@ -83,7 +83,7 @@ meta_dir(){ if [ -d "$dir/.index" -a \! -f "$meta" ] && LOCK "$meta"; then touch "$meta" # preliminary touch to prevent concurrent generators - find "$dir" -type f -mindepth 1 -maxdepth 1 \ + find -L "$dir" -type f -mindepth 1 -maxdepth 1 \ | grep -aE "$file_pattern" \ | while read -r v; do meta_line "$v" @@ -93,7 +93,7 @@ meta_dir(){ RELEASE "$meta" elif [ -d "$dir/.index" -a "$dir" -nt "$metat" ] && LOCK "$meta"; then touch "$meta" - find "$dir" -type f -newer "$metat" \ + find -L "$dir" -type f -newer "$metat" \ -mindepth 1 -maxdepth 1 \ | grep -aE "$file_pattern" \ | while read -r v; do -- 2.39.2