Skip to content

Instantly share code, notes, and snippets.

@MrJoshFisher
Created December 12, 2020 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrJoshFisher/45a0574f926c7763dc586abc1d96dee5 to your computer and use it in GitHub Desktop.
Save MrJoshFisher/45a0574f926c7763dc586abc1d96dee5 to your computer and use it in GitHub Desktop.
[Bash Foreach] #bash
#!/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