Problem with unzip

Feb 21, 2009
113
0
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
11,926
133
> 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
-----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-----
 
Feb 21, 2009
113
0
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
Then I find the help file for UNZIP to be extremely misleading as it says

File Selection

Supports extended wildcards and multiple file names.


Harvey
 
Thread starter Similar threads Forum Replies Date
Charles S. Roaten Support 1
M Support 0
R Support 9
C Support 2
D Support 3