Ted's Blog

Happy coding

用tar一次解压多个*.tar文件

 

for f in *.tar; do tar xvf $f; done
ls -la *.tar|awk '{print $8}' | xargs -t -i tar -tvf {}