find -printf

I had to search man 1 find too often for printf:

$ find /etc -name bind9 -printf '%H/%P\n%h/%f\n%p\n'
/etc/init.d/bind9
└%H┘ └─────%P───┘
/etc/init.d/bind9
└────%h───┘ └─%f┘
/etc/init.d/bind9
└──────%p───────┘

And %l for symbolic links, when -ls is too talkative:

find /etc/init.d -name '*bind*' -type l -printf '%p -> %l\n'

And the classic to find broken links:

find /etc -xtype l -printf '%p -> %l\n
Written on March 1, 2017