Mail Archives: opendos/2000/11/20/19:14:29
On Mon, 20 Nov 2000 09:49:34 -0200, "Alain" <alainm AT pobox DOT com> wrote:
<snip>
> I am aware of case sensitivity (it has been so since the first pkzip I
> know of).
> What I cannot figure out is the diffentence specificaly between "-r"and
> "-R"
> in Info-Zip's zip.exe.
Hi all,
Does this help? ;-)
---clipped from the infozip manual---
-r Travel the directory structure recursively; for
example:
zip -r foo foo
In this case, all the files and directories in foo
are saved in a zip archive named foo.zip, including
files with names starting with ".", since the
recursion does not use the shell's file-name sub-
stitution mechanism. If you wish to include only a
specific subset of the files in directory foo and
its subdirectories, use the -i option to specify
the pattern of files to be included. You should
not use -r with the name ".*", since that matches
".." which will attempt to zip up the parent
directory (probably not what was intended).
-R Travel the directory structure recursively starting
at the current directory; for example:
zip -R foo '*.c'
In this case, all the files matching *.c in the
tree starting at the current directory are stored
into a zip archive named foo.zip. Note for PKZIP
users: the equivalent command is
pkzip -rP foo *.c
___________________________________________________________________________
--
Glenn
(your friendly neighborhood compu-nerd)
http://www.delorie.com/listserv/mime/
http://freedos-32.sourceforge.net/
- Raw text -