New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15803 (closed enhancement: invalid)

Opened 4 years ago

Last modified 4 years ago

Updated locate script

Reported by: dbonde+bugs+macosforge.org@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: dbonde+macosforge.org+bugs@…
Port:

Description

I am not really sure where to ask about this so please redirect me to a better spot if this is completely wrong...

I would like to have a locate.updatedb script that subscribes to FS events (maybe triggered by launchd?) and updates the locate DB dynamically when files are moved, renamed or deleted, hence the locate DB would always be up to date.

Change History

Changed 4 years ago by ryandesign@…

MacPorts is about creating portfiles which ease the installation of existing software on Mac OS X. It sounds like your request is rather to have someone create software for you for Mac OS X, so that's not really on-topic for the MacPorts team.

Changed 4 years ago by raimue@…

  • status changed from new to closed
  • resolution set to invalid

You could try to gather people interested in writing something like this on  MacPorts users or on  Apple discussions.

But what you are describing sounds a bit like Spotlight which is already included in Tiger and above. You can use mdfind to query Spotlight from the command line.

Example: List all files with names containing 'foo':

mdfind "kMDItemFSName == '*foo*'"

Although locate seems to find more entries and is faster.

As there is nothing we can do about this right now, I am closing this ticket as invalid.

Note: See TracTickets for help on using tickets.