On Sun, Dec 25, 2016 at 09:09:38PM -0500, bruce wrote:
> Ok..
> 
> Maybe too much xmas glee...
> 
> Sample files
> 1.2.3.4_foo.dat
> 
> 11.2.3.4_foo.dat
> 
> 1.22.33.4_foo.dat
> 
> etc.....
> 
> the fillenames follow the ipAddress format..
> 
> Trying to craft a simple find with regex/pattern to find the files.
> 
> find / -name  "*[0-9]{3}*"  << doesn't work
> 

First, none of the files you show match your expression, even if it
was interpreted as a regular expression.  None have 3 consecutive digits.

Second, man find(1).  -name != -regex.  And see also -regextype.

-- 
Jon H. LaBadie                  jo...@jgcomp.com
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to