Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Problem with unzip

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?
 
> 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
 
-----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-----
 

Similar threads

Back
Top