Firefox/4.0pre SeaMonkey/2.1b3   
   From: "James J. Weinkam"    
      
   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.   
      
   zip -r g:\test e:\ -i *.pdf   
      
   works here.   
      
   >   
   > So, mission accomplished, but I still have an academic interest   
   > in what -r does (only entire trees starting at a certain point   
   > on downward?).   
   >   
      
      
   --- Internet Rex 2.31   
    * Origin: Aioe.org NNTP Server (1:261/20.999)   
|