Unzip again

Kerry Hoath kerry at gotss.net
Sun Aug 25 01:49:50 EDT 2002


No Toby; the shell expands the file names.
assume we have foo.zip and bar.zip in the current directory;
unzip *.zip will pass the command line
unzip bar.zip foo.zip
and since unzip can't find foo.zip in bar.zip it failes.
You need to do
unzip \*.zip
or
unzip "*.zip"
or anything else thaat will let the wildcards past the shell.

For an example of shell wildcard expantion try
echo *
in a directory; poor-man's ls.
Regards, Kerry.
On Sat, Aug 24, 2002 at 09:50:42PM +0100, Toby Fisher wrote:
> On Sat, 24 Aug 2002, Paul Migliorelli (+1 3 0 3 5 4 3 2 3 1 1) wrote:
> 
> > Hmmmm.  Looks like that happens if you try and say unzip star.  Oh well.
> > I'll do one at a time  then.
> 
> You could always try:
> 
> unzip *.zip
> 
> HTH
> 
> -- 
> Toby Fisher	Email: toby at g0ucu.freeserve.co.uk
> Tel.: +44(0)1480 417272	Mobile: +44(0)7974 363239
> ICQ: #61744808
>    Please avoid sending me Word or PowerPoint attachments.
>    See http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 

-- 
Kerry Hoath:  kerry at gotss.net kerry at gotss.eu.org or  kerry at gotss.spice.net.au
ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au





More information about the Speakup mailing list