Re: what do I need?

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

 



As probably a pretty irrelevant comment:

unzip burnam.zip && unzip wood.zip

might well not do what you want. wood will be unzipped only if burnam succeeds. You can both get more reliable results and delay the onset of arthritis by doing:

unzip burnam.zip;unzip wood.zip

And of course you can save those knuckles even more by leaving off the .zip extensions.

But is this really what you want to do? Unzip extracts everything to the current directory unless you use the -d option. If those archives have nothing in the root directory then you're OK IF this can be relied on which I have no idea. And the `for' loop lets you program around this too; this is left as an exercise.

(Copyright 2010 Lee's Fallible Instructions unincorporatable. Shoot it down if you can, please.)

--
Lee Maschmeyer
Wayne State University Computing Center
5925 Woodward, #281
Detroit MI 48202
USA
_______________________________________________
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]