Wyodrębnij z TAR GZ do folderu
mkdir foo
tar -xzf bar.tar.gz -C foo
Itchy Iguana
mkdir foo
tar -xzf bar.tar.gz -C foo