On 9/13/25 3:40 AM, Jörg-Volker Peetz wrote:
Hi,
Richard Owlett wrote on 12/09/2025 16:19:
<snip>
Using that database is suggesting that for *my particular case* "find"
may be more appropriate as I'm only interested in files and
directories under /home/ richard . It would be even better if hidden
files and directories were ignored.
locate can handle regular expressions, for example:
$ locate -r '^/home/richard/'
lists all sub-directories and files in /home/richard/
but BUT *BUT* ;/
locate NOT suitable for *MY* usage, database requires _refreshing_
Regards,
Jörg.