一个解压改名的shell,自己用#!/bin/bash#function:"*.so" to "*.txt"echo "starting... wait"mkdir tempfor i in `ls *.tar.gz|awk -F. '{print $1}'`do mkdir ./temp/$i cd ./temp/$i echo "release $i..." tar -xzf ../../$i.tar.gz cd ../..donecd tempfind . -name "*.so" -exec mv {} . \;for i