nixos/home-manager/modules/scripts/iso2chd

9 lines
148 B
Plaintext
Raw Permalink Normal View History

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