projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(user/zeropad.sh):Use find instead of ls; use bash functions
[BK-2020-03.git]
/
user
/
bkmml
diff --git
a/user/bkmml
b/user/bkmml
index c27ffc488f91d95be99c8bcddf61178a7591cb49..53981eb18d8602cb421ccac02e794551a4925574 100755
(executable)
--- a/
user/bkmml
+++ b/
user/bkmml
@@
-4,7
+4,7
@@
# Input: arg1 find iname expression
# arg2 grep -Ei expression
# arg3 grep -Eiv expression
# 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
# 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 "*.aac" \
-o -iname "*.opus" \
-o -iname "*.wav" \
+ -o -iname "*.aif" \
+ -o -iname "*.ape" \
-o -iname "*.ogg" \) \
-a -iname "*$FIND_SEARCH*" \
2>/dev/random | \
-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+
# Author: Steven Baltakatei Sandoval
# License: GPLv3+
-
-#
-# parallel b2sum '{}' | sort | uniq -w 128 | awk '{print $2}'