How can you tell how many hardlinks a directory has in OSX from terminal?
In OSX you can make hardlinks to directories. This is how Time Machine works. I would like to know which directories have hardlinks to them so I can see which directories are new to Time Machine.
I have tried ls -l
and stat -f "%l %N" *
but neither seem to give correct answers.
Anyone know how to do this?