Created
December 12, 2020 23:46
-
-
Save MrJoshFisher/45a0574f926c7763dc586abc1d96dee5 to your computer and use it in GitHub Desktop.
[Bash Foreach] #bash
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 | |
FILES=*.flac | |
for f in $FILES | |
do | |
echo $f | |
ffmpeg -i "$f" "${f%%.*}.mp3" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment