News for hackers. Stuff that matters.
Re:Linux Productivity Tools (2019) [pdf] by stinos on Tuesday May 19, 2020 @02:14AM (#23231769)
Relying on a database which gets updated nightly is problematic for some usage though in at least 2 ways: I don't leave my computer on if I'm not using it so there's a good chance the db will simply never update (I guess?) plus it's only usable for locating files with confidence if you know they're system files or else they were on the system yesterday. Or, you run updatedb manually all the time and weep because that's not something instant, at all.

All in all, the idea is good, but I'm almost sure there are better implementations (even Windows has tools like 'Everything' which use a database but which gets continuously updated).

Re:Linux Productivity Tools (2019) [pdf] by scbrg on Tuesday May 19, 2020 @04:09AM (#23232493)
There are cron implementations that handle the "turned off at night" problem. anacron is one of them.
Re:Linux Productivity Tools (2019) [pdf] by aerique on Tuesday May 19, 2020 @03:38AM (#23232281)
Even running updatedb (except the initial run) and then running locate might be faster than running a recursive grep from the root directory. Definitely if you run that grep more than once.
Re:Linux Productivity Tools (2019) [pdf] by everybodyknows on Tuesday May 19, 2020 @10:55AM (#23235535)
>you run updatedb manually all the time and weep because that's not something instant, at all.

No, not instant, YMMV. On my mid-range laptop with SATA SSD:

  $ time sudo updatedb
  real 0m0.501s
  user 0m0.247s
  sys 0m0.218s
Re:Linux Productivity Tools (2019) [pdf] by fomine3 on Tuesday May 19, 2020 @09:13PM (#23242302)
Is there any alternatives like "Everyting" on Windows? I really like it for its GUI and depending NTFS index which is immediately updated.