View Single Post

  #1 (permalink)  
Old 05-31-2008, 02:39 AM
aasif.shaikh aasif.shaikh is offline
Junior Member
User
 
Join Date: May 2008
My distro: RedHat/Solaris
Posts: 6
Rep Power: 0
aasif.shaikh is on a distinguished road
Question shell script to search specific file from txt file inside zip file and extract it

Hi Guys,

I wanted to search and extract specific file mentioned in .txt file from .zip in a file system.

Eg;

test.zip is a file and inside that there are file 1.img 2.img 3.img 4.img and 5.img and I have a plain text file in that I had mentioned only 1 in 1st line and 5 on 2nd line; Now I wanted to search this matching pattern 1 and 5 and check in all *.zip file in file system and extract the one which matches.

Thanks in Advance.
Reply With Quote