Today it occured to me that, instead everytime running find command to find files, I could cache find results somewhere, then look into it with grep. Here is how its gone:
find.sh ( -rwxr----- root:users )-> in /etc/cron.hourly
However, notice that ‘locate’ will show files that were present during the last update of the locate-database only (every 24 hours by default).
As far as I remember (not sure though) ‘locate’ is not set up and activated right after the install. One should run
updatedb
as root first. The very first setup will take quite a lot of cpu-resources (and time, depending on how many files you have), but the updates will only need very little (at least I never really noticed an ‘updatedb’ running).