Linux find command gotcha?
        Posted  
        
            by rabbit
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by rabbit
        
        
        
        Published on 2010-04-07T09:10:23Z
        Indexed on 
            2010/04/07
            9:13 UTC
        
        
        Read the original article
        Hit count: 469
        
find
Hi I am trying to find all js & css files in one find command. I tried all of the below but in vain:
find WebContent -name "*.[jc]ss?"
find WebContent -name "*.[jc]ss{0,1}"
find WebContent -name "*.[jc][s]{1,2}$"
find WebContent -name "*.[jc]s{1,2}"
find WebContent -name "*.[jc]s[s]?"
Now what??
© Stack Overflow or respective owner