Problem with unzip

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Feb 21, 2009
90
0
#1
With PKUnzip an argument of "-o *" will open all files in the directory with .zip extensions without complaining about overwriting. I expected "unzip /o *" to do the same, but I get a nastygram about an invalid argument. I really do not see what I am doing wrong. Where am I going astray?
 

rconn

Administrator
Staff member
May 14, 2008
10,210
86
#2
> With PKUnzip an argument of "-o *" will open all files in the
> directory with .zip extensions without complaining about overwriting.
> I expected > "unzip /o *" to do the same, but I get a nastygram about
> an invalid > argument. I really do not see what I am doing wrong.
> Where am I going astray?
You're going astray by using another program's syntax and expecting it to
work in TCC despite the lack of any documentation to support that syntax!
:-)

UNZIP in TCC does not support wildcards for the .zip file name.

Rex Conn
JP Software
 
D

drrob1

Guest
#3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

rconn wrote:

> ---Quote---
>> With PKUnzip an argument of "-o *" will open all files in the
>> directory with .zip extensions without complaining about overwriting.
>> I expected > "unzip /o *" to do the same, but I get a nastygram about
>> an invalid > argument. I really do not see what I am doing wrong.
>> Where am I going astray?
> ---End Quote---
> You're going astray by using another program's syntax and expecting it to
> work in TCC despite the lack of any documentation to support that syntax!
> :-)
>
> UNZIP in TCC does not support wildcards for the .zip file name.
>
I'm sure the same effect could be done w/ a do or for loop. Though I am
not familiar enough w/ these to write the code
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr25/QACgkQVRqaVGo2lhxGgACeK62jn5S1RZMGgQSr+xpgpL0C
RsUAoJUFO+sk0gTDBVhjuyI6WwtJomO3
=6pqe
-----END PGP SIGNATURE-----