*.bz2 ) bunzip2 "$x" ;;
*.gz ) gunzip "$x" ;;
*.tar ) tar xf "$x" ;;
- *.zip ) unzip "$x" ;;
+ *.zip|*.xpi ) unzip "$x" ;;
*.Z ) uncompress "$x" ;;
*.7z ) 7za x "$x" ;;
*.deb ) ar x "$x" ;;
*.r[0-9][0-9]|*.rar ) unrar x "$x" ;;
*.dsc) dpkg-source -x "$x" ;;
*.sfs) $super unsquashfs "$x" ;;
+ *.jar) jar xf "$x" ;;
*) echo "I don't know how to extract $x";;
esac
done