linux批量解压tar.gz文件

for file in *.tar.gz; do
    tar -zxvf "$file"
done