Skip to content

Instantly share code, notes, and snippets.

View simonsunnyboy's full-sized avatar

Matthias Arndt simonsunnyboy

View GitHub Profile
#!/bin/bash
for i in *.adz
do
adfname=$(basename -s adz ${i})
adfname="${adfname}adf.gz"
echo $adfname
# rename file
mv "$i" "$adfname"
# unpack
gunzip "$adfname"