delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2000/11/20/19:14:29

Message-ID: <B0000929076@mail.cisnet.com>
From: "Glenn McCorkle" <glennmcc AT cisnet DOT com>
Organization: Arachne Fan Club
Date: Mon, 20 Nov 2000 19:17:08 -0500
X-Mailer: Arachne V1.67
To: opendos AT delorie DOT com
Subject: Re: PKZIP 2.50 for DOS
MIME-Version: 1.0
Reply-To: opendos AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019