Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Multicore sox conversion of FLAC to 320 kbps LAME MP3 CBR
#!/usr/bin/env bash
find . -type f -iname '*.flac' -print0 | xargs -0 -n 1 -P 8 -I {} sox {} -C 320 -V2 {}.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment