Last active
February 24, 2019 18:19
-
-
Save Shadowbeetle/bf01186d6968ddf94c8b9fade7024a19 to your computer and use it in GitHub Desktop.
Get metadata from medi files where filenames contain spaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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