3

Tip #355   Untar multiple files in a directory

tar.gz
for file in `ls *.tar.gz`;do tar -xvf $file;done


tar.bz2
for file in `ls *.tar.bz2`;do tar -xvjf $file;done