[SLUG] find, locate, BeOS ... sigh

From: Vernon (vsingleton@cfl.rr.com)
Date: Mon Feb 24 2003 - 20:59:26 EST


Idiots like myself are tired of typing out "find / -name ..." and waiting.
But rather, we like updatedb and locate, but find ourselves constantly
typing
"time updatedb" ... 2 minutes later ... "locate whatever",
and because we are not even willing to wait 1+ minutes for the crontab
we've even tried a little scripts like this:

#!/bin/bash
lockFile="/tmp/lock.${0#./}"
echo $$ > $lockFile
while [ -s $lockFile ]
do
   updatedb
   sleep 1
done

but it boggs a system down noticably.
Any ideas other than switching to BeOS?

Vernon



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:42:44 EDT