ls *.tar.gz | xargs -n1 tar xzvf //批量解压
ls | awk '{ print "tar zcvf "$0".tar.gz " $0|"/bin/bash" }' //批量打包
ls | awk '{ print "tar zcvf "$0".tar.gz " $0 }'|/bin/bash //批量打包
ls | awk '{ print "tar zcvf "$0".tar.gz " $0|"/bin/bash" }' //批量打包
ls | awk '{ print "tar zcvf "$0".tar.gz " $0 }'|/bin/bash //批量打包