13 lines
343 B
Bash
13 lines
343 B
Bash
#!/bin/bash
|
|
|
|
function g_find_audio {
|
|
IFS=$'\n' # for space escapes in path
|
|
find $@ -type f | sort | while read g_file
|
|
do
|
|
mediainfo --File_TestContinuousFileNames=0 "$g_file" > "$g_tmp/g_mediainfo" 2>&1
|
|
cat "$g_tmp/g_mediainfo" | egrep -q "^Video$" && continue
|
|
cat "$g_tmp/g_mediainfo" | egrep -q "^Audio$" && echo "$g_file"
|
|
done
|
|
}
|
|
|