#!/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
原文地址:https://blog.51cto.com/11342825/2422370
时间: 2024-10-06 05:50:32