Mac OSX 10.6
I've got some aliases that are pointing to the wrong volume. I'd like to search my whole hierarchy for such aliases. They're aliases, not symlinks, so I can't just do find / -type l -ls | grep badVolumeName
.
It seems that aliases have a com.apple.ResourceFork, but querying this with xattr
gives me binary data. Is there a way to dump the target of the alias as text so I can grep for the bad volume name? Or what's another way to do this?