nixos/home-manager/modules/scripts/cue2chd

9 lines
167 B
Plaintext
Raw Normal View History

2024-03-27 12:33:52 +01:00
#!/usr/bin/env sh
for File in *.cue
do
[ -f "$File" ] || continue
chdman createcd -i "$File" -o "${File%.cue}.chd"
2024-03-27 12:34:35 +01:00
rm -v "$File" "${File%.cue}"*.bin
2024-03-27 12:33:52 +01:00
done