Thanks Ahmad
Mind totally blew by the regextype attribute... simple works as expected..
'ppreciate it..
On Mon, Dec 26, 2016 at 5:29 AM, Ahmad Samir wrote:
> On 26 December 2016 at 07:47, bruce wrote:
>> ls /cloud_nfs/*PID.dat
>>
>> /cloud_nfs/1.2.3.4_PID.dat
>> /cloud_nfs/100.2.3.4_PID.dat
On 26 December 2016 at 07:47, bruce wrote:
> ls /cloud_nfs/*PID.dat
>
> /cloud_nfs/1.2.3.4_PID.dat
> /cloud_nfs/100.2.3.4_PID.dat
>
>
> find . -regex '*\./*(\d+.\d+)*' not working.. ive seen multiple
> examples.. so i'm doing something wrong...
>
> i've cd'd to the dir in question to run th
ls /cloud_nfs/*PID.dat
/cloud_nfs/1.2.3.4_PID.dat
/cloud_nfs/100.2.3.4_PID.dat
find . -regex '*\./*(\d+.\d+)*' not working.. ive seen multiple
examples.. so i'm doing something wrong...
i've cd'd to the dir in question to run the test find...
I know this is "simple" so i''m missing some
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 fi
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
thoughts/comments
thanks
_