#!/bin/bash
ls /tmp/install_file/*.tar.gz > install_packge_name.log
for i in `cat install_packge_name.log`
do
tar -zxf $i -C /tmp/depress/ >> /dev/null #解压到/tmp/depress文件
done
标签:解压,tmp,shell,log,tar,depress,packge,install,文件批量
来源: https://blog.51cto.com/11342825/2422370