Add Search Criteria to Spotlight Search
When you run a Spotlight search using metadata attributes. In your case, use the following search: kind:Alias

Finder will find all Aliases on your system. If you select Show all in Finder..., it will open a new Finder window with all of the Aliases in one place. Simply select an Alias and press ⌘ CommandI or right click your mouse and select Get Info
That screen will show the metadata attributes of the file. Look for Original which will indicate the original target (where it points to) of the Alias.

Use Terminal to get a list of aliases
Use the mdfind
command to search for aliases in your system. A simple search would be:
mdfind "kMDItemKind == 'Alias'"
This will pull up all Aliases on your system. Refer to the mdfind
man page (man mdfind
) for more specifics on searching syntax.
You can get the file's attributes using the mdls
command (man mdls
):
mdls "Clone Wars"
This will display a complete list of all the metadata associated with that file including the item type. Unfortunately, you can't get the target because that is stored as binary data and must be retrieved through Finder.
For a full list of searchable metadata types, see Narrow your search results on Mac (I keep it bookmarked for quick reference)
find -L /Users/Alex/Library -type l -samefile /Users/Alex/Documents/Google\ Earth 2>&1 | grep -v "Operation not permitted"
. I have a link to this Google Earth folder but can't remember where exactly it's linking from. It might also not be exactly the same name. Somehow, my CLI command didn't really work. – Alex Ixeras Jan 22 '23 at 13:25find
construct would work on hunting symbolic links which is a file type of the OS, but not with aliases which are added meta-data managed by theFinder
andmd
tools. From many years of experience on many MacOSes and Unixes, I highly prefer symbolic links over aliases. – dan Jan 23 '23 at 20:27