bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

find / -iregex not working as expected


From: Michael Convey
Subject: find / -iregex not working as expected
Date: Thu, 12 Nov 2015 07:41:36 -0800

I'm trying to find the following files with a single 'find' statement:

/var/lib/postgresql/9.4/main/postgresql.auto.conf
/usr/lib/tmpfiles.d/postgresql.conf
/etc/postgresql/9.4/main/postgresql.conf

I tried the following (and more), but I can't figure it out:

find / -iregex "*postgresql.*.conf"
find / -iregex "*/postgresql*.conf"
find / -iregex *postgresql*.conf
find / -iregex '*postgresql.*.conf'

What am I doing wrong and why?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]