From: "Frank Beythien"    
      
   On Mon, 20 Jun 2011 13:19:35 UTC tholen@antispam.ham wrote:   
      
   > Steve Wendt writes:   
   >    
   > >> zip -r ABC.ZIP M:\*.abc   
   > >> zip warning: name not matched: M:\*.abc   
   >    
   > > The recursion is for paths, not file patterns.   
   >    
   > I'm not following you. The wildcard works fine within a directory,   
   > and the addition of -r supposedly recurses into subdirectories.   
   >    
   > > I think you need to use the -i option:   
   > >   
   > > Include and Exclude:   
   > > -i pattern pattern ... include files that match a pattern   
   > > -x pattern pattern ... exclude files that match a pattern   
   >    
   > Tried it without success.   
   >    
   > >> It's an old zip (2.0.1 by Kai Uwe Rommel)   
   >    
   > > No idea if that old version has the -i option.   
   >    
   > It does, along with the -x option. It also has the -@ option,   
   > which reads from standard input, so I was able to get the desired   
   > effect by using the DIR command and piping its output to zip with   
   > the -@ option.   
   >    
   > So, mission accomplished, but I still have an academic interest   
   > in what -r does (only entire trees starting at a certain point   
   > on downward?).   
   >    
      
   No idea, but -R recurses thru subdirs (ZIP 2.31)   
      
   CU/2   
      
   --    
   Frank Beythien fBeythien AT gmx.de   
      
   --- Internet Rex 2.31   
    * Origin: The gateway at Omicron Theta (1:261/20.999)   
|