prevent repeat of video files

This commit is contained in:
mmaster 2021-09-21 23:53:51 +02:00
parent a5baa46807
commit dc7a05c3a9
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ fi
while true; do
file="$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)"
while [ "$file" == "$oldfile" ]; do
while [ "$file" = "$oldfile" ]; do
file="$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)"
done