#!/bin/bash
# iconextract extrahiert mit wrestool icons aus win-dll's etc, 
# konvertiert mit icotool und 
# löscht alle .ico-Dateien
# funktioniert nicht mit Datei- oder Pfadnamen, 
# die Leerzeichen enthalten

#/usr/bin/wrestool -x --output=. -t14 $1 &&
# echo "aha"
# echo "/usr/bin/wrestool -x --output=. -t14 $1"
# exit

for i in *.ico
    do /usr/bin/icotool -x --output=. $i
done &&
rm -f *.ico
