Skip to content

Instantly share code, notes, and snippets.

@Shadowbeetle
Last active February 24, 2019 18:19
Show Gist options
  • Save Shadowbeetle/bf01186d6968ddf94c8b9fade7024a19 to your computer and use it in GitHub Desktop.
Save Shadowbeetle/bf01186d6968ddf94c8b9fade7024a19 to your computer and use it in GitHub Desktop.
Get metadata from medi files where filenames contain spaces
#!/bin/bash
IFS=$(echo -en "\n\b")
for f in $(ls -v)
do
echo $f
ffprobe -v quiet -print_format json -show_format -show_streams "$f" | jq ".format.tags"
echo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment