I tried */* also.
But SUCCESS using your idea with PKZip!!
pkzip /extract /exclude=*\* somearchive.zip
works very nicely, thank you very much. :)))
You win a free lunch.
Dallas E. Legan wrote:
>
> unzip -Z -1 somefile.zip | find /V "/" | parse "US;'unzip somefile.zip 'US;"
> Where 'parse' is the utility described in my article at:
> http://www.scoug.com/os24u/2001/scoug010.parsetool.html
>
> If you have a EMX port of the UNIX 'xargs' command,
> you could probably use it inplace of the parse.
Okay, this is a good concept. And a good article, Dallas, I had missed
it.
For production work I'm worried that a field might occasionally be blank
(I've seen FAT files without a date or time). And dropping the -Z might
help (less output fields).
I think Rexx Tips & Tricks (rxtt* on Hobbes) has some additional info on
writing Rexx filters.
The difficulty with Rexx is the different flavors; I don't want the
thing to break if I run it on a machine which uses Object Rexx, or on a
machine with an early FixPak which doesn't include some of the Rexx
routines which were added later.
I don't have a port of xargs.
Thanks, all.
- Peter
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 05 |
January |
2003 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.