SCOUG-HELP Mailing List Archives
Return to [ 06 |
January |
2003 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================
>Date: Mon, 6 Jan 2003 09:43:27 PST8
>Sender: scoug-help-owner
>Reply-To: scoug-help@scoug.com
>From: Peter Skye
>To: scoug-help@scoug.com
>Subject: SCOUG-Help: Re: unzip toplevel directory only ?
> __________________________________________________________________
>
>
>leganii@surfree.com wrote:
>>
>> The real work was being done by the unzip -Z -1...'s
>> '-1' switch in the case in question - the real feature
>> being used was to loop through the standard input and
>> do something (run unzip) on each line.
>
>Hi Dallas,
>
>What is the "-1" switch? It's not in the online docs.
>The first time I saw it I thought you meant the "-l" switch.
>
> [G:\]unzip
> UnZip 5.50 of 17 February 2002, by Info-ZIP. Maintained by C. Spieler. Send
> bug reports to the authors at Zip-Bugs@lists.wku.edu; see README for details.
>
> Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
> Default action is to extract files in list, except those in xlist, to
>exdir;
> file[.zip] may be a wildcard. -Z => ZipInfo mode ("unzip -Z" for usage).
*******************************************
I think things will be obvious with the appropriate
usage message. :-)
>
> -p extract files to pipe, no messages -l list files (short format)
> -f freshen existing files, create none -t test compressed archive data
> -u update files, create if necessary -z display archive comment
> -x exclude files that follow (in xlist) -d extract files into exdir
>
> modifiers: -q quiet mode (-qq => quieter)
> -n never overwrite existing files -a auto-convert any text files
> -o overwrite files WITHOUT prompting -aa treat ALL files as text
> -j junk paths (do not make directories) -v be verbose/print version
>info
> -C match filenames case-insensitively -L make (some) names lowercase
> -$ label removables (-$$ => fixed disks) -V retain VMS version numbers
> -X restore ACLs if supported -s spaces in filenames => '_'
> -M pipe through "more" pager
> Examples (see unzip.txt for more info):
> unzip data1 -x joe => extract all files except joe from zipfile data1.zip
> unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file
>newer
>
> [G:\]
>
>- Peter
--
Regards,
Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com
Powered by......Lynx, the Internet at hyperkinetic speed.
=====================================================
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 [ 06 |
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.
|