dotfiles/.local/bin/scripts/rgain

4 lines
178 B
Plaintext
Raw Normal View History

#!/bin/sh
# Recursively add replaygain to the given files or from the current directory
r128gain $(test -f "$1" || echo '--recursive') --skip-tagged --preserve-times 1 "${@:-.}"