nixos/home-manager/modules/scripts/iso2chd

9 lines
147 B
Plaintext
Raw Normal View History

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