UUvF+Ii/P6zqJmew";   
   er.org"; posting-account="U2FsdGVkX19gsmonAm09ZkZORpEuEToU"   
   Gecko/20110414 Thunderbird/3.1.10   
   From: Peter Flass    
      
   On 6/20/2011 9:19 AM, 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?).   
   >   
      
   Use the source, Luke.   
      
   --- Internet Rex 2.31   
    * Origin: A noiseless patient Spider (1:261/20.999)   
|