You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
337 B
13 lines
337 B
#!/bin/bash
|
|
|
|
# Check if a directory is provided, otherwise use the current directory
|
|
dir="${1:-.}"
|
|
|
|
# Find all .mkv files recursively
|
|
find "$dir" -type f -name "*.mkv" | while read -r file; do
|
|
# Check for subtitle tracks using mkvinfo
|
|
if ! mkvinfo "$file" | grep -q "Track type: subtitles"; then
|
|
echo "$file"
|
|
fi
|
|
done
|