Skip to content

Instantly share code, notes, and snippets.

@patdavid
Created October 4, 2016 15:45
Show Gist options
  • Save patdavid/b28fbab148b3f4728ae4e898260cbdea to your computer and use it in GitHub Desktop.
Save patdavid/b28fbab148b3f4728ae4e898260cbdea to your computer and use it in GitHub Desktop.
recursively find directories and apply mp3gain to all the .mp3 files inside
find ./ -type d -exec bash -c 'cd "$1"; mp3gain -a -k -m 3 *.mp3' -- {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment