Re: how to use unzip with pipe
[A complimentary Cc of this posting was sent to
Danish
<me.linuxadmin@gmail.com>], who wrote in article <1155537414.080719.126630@m79g2000cwm.googlegroups .com>:
> Hi,
> Can anyone please guide me as to how use pipe with unzip. For eg, Iv
> got a lot of zip files in a directory. So id like to `ls` them to a
> pipe and then unzip it.
>
> $ls *.zip
>
> 1.zip
> 2.zip
>
> Can I do
> $ls *.zip | unzip
>
> I tried it, but was not working...Tried googling but didnt find
> much..Need it urgently
Out of tens of postings, nobody gave a "correct" one:
unzip "*.zip"
Hope this s,
Ilya
|