mirror of
https://github.com/SinTan1729/random.git
synced 2025-04-11 05:36:04 -05:00
fix: Allow 3 letter lang codes
This commit is contained in:
parent
04ba04620a
commit
d84cd484d9
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ process_file () {
|
|||
else
|
||||
mkdir "$without_ext"
|
||||
mv "$filename" "$without_ext/"
|
||||
find . -type f -regextype posix-egrep -iregex "\./$without_ext(\.[a-z]{2})?\.srt" \
|
||||
find . -type f -regextype posix-egrep -iregex "\./$without_ext(\.[a-z]{2,3})?\.srt" \
|
||||
-exec mv "{}" "$without_ext/" \;
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue