Re: what do I need?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 values:

  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).

-tim


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]