Created
February 9, 2018 22:30
-
-
Save mattconnell/ac990efb49deb5dad2f59961f4321e3d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
echo "Converting all wav files to liblame-encoded mp3s." | |
for i in *.wav ; do | |
echo -n "Processing file $i... " | |
ffmpeg -loglevel error -i "$i" -acodec mp3 "${i//\.wav/}".mp3 | |
echo "Done." | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment