for file in *.tar.gz; do tar -zxf "$file"; done
for file in *.tar.xz; do tar -Jxf "$file"; done
for file in *.tar.bz2; do tar -jxf "$file"; done