可以用xargs组合

ls *.tar.gz | xargs -n 1 tar xzf

2010/8/5 User <[email protected]>

>
>
> 假如当前目录下有许多 ".tar.gz" 文件,执行 "tar zxf *.tar.gz" 会报错。
> 难道需要一个一个地解开那些东西?
>
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive:
> http://lists.debian.org/[email protected]
>
>


-- 
Qin Li

回复