prevent repeat of video files
This commit is contained in:
parent
a5baa46807
commit
dc7a05c3a9
|
@ -31,7 +31,7 @@ fi
|
||||||
while true; do
|
while true; do
|
||||||
file="$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)"
|
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)"
|
file="$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue