find $directory -type d -printf d -o -type l -printf l -o -type f -links +1 -printf h -o -type f -printf f