Re: find: print trailing slash for directories

2022-08-07 Thread Fourhundred Thecat
> On 2022-08-07 12:49, Bernhard Voelker wrote: On 8/6/22 09:20, Fourhundred Thecat wrote:> how difficult would it be to patch find, to print trailing slash for > find \( -type d -printf '%p/\n' \) -or \( -print \) thank you, but this solution is quite tedious to type, espe

find: print trailing slash for directories

2022-08-06 Thread Fourhundred Thecat
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 f