Skip to content

Instantly share code, notes, and snippets.

@markuswustenberg
Created November 10, 2009 17:31
Show Gist options
  • Save markuswustenberg/231054 to your computer and use it in GitHub Desktop.
Save markuswustenberg/231054 to your computer and use it in GitHub Desktop.
#!/bin/bash
# A short script to update all flac-files in subdirs to the best compression, with replay gain added.
du -h
export IFS=$'\n'; for dir in `find . -type d` ; do cd ${dir} ; flac --verify --best --force --replay-gain *.flac ; cd - ; done
du -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment