mirror of
https://github.com/tanrax/bash-folders.git
synced 2025-10-10 10:15:50 +02:00
Added missing regex check for extension type
This commit is contained in:
@@ -35,7 +35,7 @@ run() {
|
||||
|
||||
while read -r file; do
|
||||
extension="${file##*.}"
|
||||
[[ "${extension,,}" =~ foo ]] || continue
|
||||
[[ "${extension,,}" =~ (avi|m(kv|p4|ov)) ]] || continue
|
||||
|
||||
printf '%s\n' "Optimizing file '${file}'..."
|
||||
|
||||
|
Reference in New Issue
Block a user