nixos/home-manager/modules/scripts/cue2chd
2024-03-27 12:33:52 +01:00

9 lines
166 B
Bash
Executable File

#!/usr/bin/env sh
for File in *.cue
do
[ -f "$File" ] || continue
chdman createcd -i "$File" -o "${File%.cue}.chd"
rm -v "$File" "${File%.cue}.bin"
done