Created
December 28, 2015 21:06
-
-
Save jeffskelton3/0f179e5863010038f622 to your computer and use it in GitHub Desktop.
converts all wav files in a directory to mp3.
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
find . -name "*.wav" -exec sh -c 'ffmpeg -i $(basename {}) $(basename {} | cut -f 1 -d '.').mp3' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: FOR THIS TO WORK PROPERLY THERE CAN BE NO PERIODS IN THE FILENAME OTHER THAN THE EXTENSION