what do I need?

Tim Chase blinux.list at thechases.com
Fri Mar 5 19:52:44 UTC 2010

> unzip *.zip should work to unzip all zip files.

I'll second that this should work too.

>  If for some reason it doesn't you could try something like
> for file in 	`ls *.zip`
> do
> unzip $file
> done

You don't need the "ls" in back-ticks, the "for" command expands 

   for f in *.zip; do unzip "$f"; done

should do the trick.  (I also like to put the "$f" in 
double-quotes in case any of my file-names have spaces in them).


More information about the Blinux-list mailing list