How to Find All Symlinks in a Directory Tree on Mac


If you need to recursively find all symbolic links in a directory tree on a Mac, then you have a couple of options.

You could be trying to find them because a tool like Dropbox is consuming high CPU and you need to remove them, or perhaps you want to move a directory to another machine or network drive and verifying a package is required.

ls -lR . | grep ^l
find . -type l -ls