Message-ID: <00a701c0535f$54fdeda0$6a4bdcc8@alain-nb> From: "Alain" To: Subject: Re: PKZIP 2.50 for DOS Date: Mon, 20 Nov 2000 23:58:20 -0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: opendos AT delorie DOT com Glenn McCorkle sent me a piece of the manual, but that is exactly what I cannot understand: what is the difference between them? They look the same to me :( Alain >> 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. > >---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 >_______________________________________________________________________ ____