Opened 16 years ago

Closed 16 years ago

#15803 closed enhancement (invalid)

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 (2)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

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.

comment:2 Changed 16 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: newclosed

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.