Who's Online 
 
         
              
          161  user(s) are online (
55  user(s) are browsing 
Forums )
Members: 1
Guests: 160
 
AmigaSociety ,
    more...
  
       
      
     
   
                         
                         
                      
                
        
            
                        
            
                         
  
      
          Topic options 
                           
            
      
          View mode 
                        Newest First 
                 
                      
              
    
         
 
    
  
    
    
        
    
    
        
            
         
        
            Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 18:44 
                                  
                                    #1  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/5/16 11:20Last Login
                                :  2018/10/16 7:05
                                                    From  Grimsby, UK
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Hi, Using the default Find tool that comes with OS 4.1+ I am trying to get the syntax to pattern match not just one file extension, but multiple with no luck.  Anyone got this to work? Examples that don't work for me: find name "#?.jpg|#?.png" dirs images: find name #?.jpg|#?.png" dirs images: find name "#?.jpg" | "#?.png" dirs images: find name "#?.jpg" name "#?.png" dirs images:
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 19:08 
                                  
                                    #2  
                             
         
     
    
                
                             Just can't stay away
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2007/2/23 13:49Last Login
                                :  11/2 15:00
                                                    From  Finland, the land of Santa, sauna, sisu and salmiakki
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Use parenthesis, like this: find name "(#?.jpg|#?.png)" dirs images:
                        
             
            
                                    
 
     
    
                
                                
                Rock lobster bit me - so I'm here forever X1000 + AmigaOS 4.1 FE "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 19:56 
                                  
                                    #3  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2006/11/26 17:45Last Login
                                :  10/31 16:05
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                         #?.(jpg|png) less typing and more obvious that it's the extension which is important.
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 20:51 
                                  
                                    #4  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/5/16 11:20Last Login
                                :  2018/10/16 7:05
                                                    From  Grimsby, UK
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Excellent, thanks guys!
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 21:40 
                                  
                                    #5  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/5/16 11:20Last Login
                                :  2018/10/16 7:05
                                                    From  Grimsby, UK
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Fits perfectly into my Jack application with little effort, seems I pre-empted correctly early on how I was gonna make the best use of Find at a later date. Seems the pattern matching in AmigaOS is quite flexible.... I can do this for example: holiday#?.(png|jpg|gif|ilbm|lbm|iff|pcx|tiff|jpeg) and it just works!
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 21:54 
                                  
                                    #6  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/5/16 11:20Last Login
                                :  2018/10/16 7:05
                                                    From  Grimsby, UK
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Actually I have quick question. Does every hard disk or partition have its own .recycled directory? I am guessing the answer is Yes?
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 22:10 
                                  
                                    #7  
                             
         
     
    
                
                             Just popping in
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2007/9/3 17:27Last Login
                                :  2013/9/7 10:41
                                                    From  France
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @djrikki No, it's a feature introduced by SFS and supported by JXFS as well. FFS partitions don't have such a directory for example.
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 22:16 
                                  
                                    #8  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/5/16 11:20Last Login
                                :  2018/10/16 7:05
                                                    From  Grimsby, UK
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        What I mean is can there be multiple instances of .recycled?  Or is there just one main .recycled repository existing on one device?
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/23 23:47 
                                  
                                    #9  
                             
         
     
    
                
                             Just can't stay away
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2009/4/28 3:57Last Login
                                :  Today 10:52
                                                    From  Adelaide, Australia
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        There's one .recycled directory per partition (providing the filesystem supports it). I hope I understood your question.
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/24 11:51 
                                  
                                    #10  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2006/11/26 17:45Last Login
                                :  10/31 16:05
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Quote:
 centaurz wrote: it's a feature introduced by SFSThat's not true. The function first appeared in AFS (AmiFileSave), the predecessor of PFS. SFS just copied it with another name (AFS called it .deldir).
 
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/24 11:53 
                                  
                                    #11  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/5/16 11:20Last Login
                                :  2018/10/16 7:05
                                                    From  Grimsby, UK
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Okay thanks MickJT, thats what I needed to know.
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/24 15:13 
                                  
                                    #12  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2008/5/2 12:14Last Login
                                :  5/26 14:10
                                                    From  Sweden
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Now all we want is for Find to remember directories one adds.
                        
             
            
                                    
 
     
    
                
                                
                Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++ 
 
             
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/24 16:11 
                                  
                                    #13  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/5/16 11:20Last Login
                                :  2018/10/16 7:05
                                                    From  Grimsby, UK
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Deniil, intriguing.  Please elabroate.
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/27 12:48 
                                  
                                    #14  
                             
         
     
    
                
                             Quite a regular
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2006/12/2 0:35Last Login
                                :  2024/1/19 10:37
                                                    From  Sydney
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        When you use the button "Add Path", the added path is only temporary. When you exit the program and restart, the added path has gone. It would be great if we could add our favourite paths to tooltypes and keep them for next time. For instance, I would add SDK:Documentation/Autodocs/ and SDK:include/include_h/.
                        
             
            
                                    
 
     
    
                
                                
                cheers tony
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Utilities/Find
         
        
            
                                    Posted on: 
2011/5/27 16:35 
                                  
                                    #15  
                             
         
     
    
                
                             Just can't stay away
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2007/2/23 13:49Last Login
                                :  11/2 15:00
                                                    From  Finland, the land of Santa, sauna, sisu and salmiakki
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @tonyw Use FindMore instead !
                        
             
            
                                    
 
     
    
                
                                
                Rock lobster bit me - so I'm here forever X1000 + AmigaOS 4.1 FE "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
            
                 
     
    
        
     
     
   
    
  
    
      Currently Active Users Viewing This Thread:
      1
      (
        0 members
                  and 1 Anonymous Users
              )