find -maxdeph
This commit is contained in:
2021-08-09 08:03:03 +02:00
parent f99b2c3107
commit 61cdb0e44b
3 changed files with 3 additions and 3 deletions

View File

@@ -449,7 +449,7 @@ dir=$(dirname $conf_apa)
name=$(basename $conf_apa)
notif1="$dir has been modified in the last 5 minutes"
test=$(find $dir -name "$name" -mmin -5 -maxdepth 1)
test=$(find $dir -maxdepth 1 -name "$name" -mmin -5)
echo "$test"