feat(user/transcribe_whisper.sh):Apply to various media files
[BK-2020-03.git] / user / bkmml
index c27ffc488f91d95be99c8bcddf61178a7591cb49..53981eb18d8602cb421ccac02e794551a4925574 100755 (executable)
@@ -4,7 +4,7 @@
 # Input: arg1  find iname expression
 #        arg2  grep -Ei expression
 #        arg3  grep -Eiv expression
-# Version: 0.0.1
+# Version: 0.0.3
 # Depends: GNU Grep 3.7; GNU find utils 4.8.0; GNU Parallel 20210822
 
 # Load env vars
@@ -43,6 +43,8 @@ done < <(find -L "$(readlink -f "$BKMML_TARGET_DIR")" \
               -o -iname "*.aac"  \
               -o -iname "*.opus" \
               -o -iname "*.wav"  \
+              -o -iname "*.aif"  \
+              -o -iname "*.ape"  \
               -o -iname "*.ogg" \) \
               -a -iname "*$FIND_SEARCH*" \
               2>/dev/random | \
@@ -54,6 +56,3 @@ done < <(find -L "$(readlink -f "$BKMML_TARGET_DIR")" \
 
 # Author: Steven Baltakatei Sandoval
 # License: GPLv3+
-
-#             
-#             parallel b2sum '{}' | sort | uniq -w 128 | awk '{print $2}'