I am trying to craft a search to find all aliases that point to folders.  Is there a way to do this?

0 0

That is not possible. Spotlight does not index that information.

Which folder an alias points to could actually be hard to track: aliases get resovled when you try to open them. The system attempts to find the target file even when it has been moved. It can also fall back on a different file of the same name that has replaced the previous target.

For Spotlight to keep its index current, it would need to watch the file system for additions and removals. On each such change, it would need to check all aliases  to see if the file system change impacts the way the alias is resovled.


Pierre Bernard
Houdah Software s.à r.l.

Houdah Software s. à r. l.

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0 0