Extract all files in a directory

Eved had a directory full of .tar.gz files and wanted a one-liner to untar/unzip them?

Just paste the line below as it is to any bash terminal:

for i in *.tar.gz; do echo working on $i; tar xvzf $i ; done