Hello, how difficult would it be to patch find, to print trailing slash for directories?
This seems like a very useful feature, without interfering with compatibility or specifications. I have found many questions on the various forums. There are some ugly hacks offered, all relying on piping find output to other commands (sed). The least ugly one I found: find . -printf "%p:%y\n" I am wondering if some simple patch would be possible to do this by default in find? I am using findutils 4.6.0 on Debian 10 I would be happy to patch my own find, if somebody could kindly offer a solution. I am not a programmer myself, just a sysadmin. thank you