add files
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dir="${1:-.}"
|
||||
|
||||
find "$dir" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.aiff" \) -print0 |
|
||||
xargs -0 -P"$(nproc)" -I{} bash -c '
|
||||
if ffprobe -v quiet -show_entries format_tags \
|
||||
-of default=nw=1:nk=1 "$1" 2>/dev/null |
|
||||
grep -q -E "Visit https?://[^ ]+"; then
|
||||
echo "Match found in: $1"
|
||||
fi
|
||||
' _ {} | sort
|
||||
Reference in New Issue
Block a user