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

9 lines
167 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