On 2022-08-06 Fourhundred Thecat <400the...@gmx.ch> wrote:
> Hello,

> how difficult would it be to patch find, to print trailing slash for
> directories?
[...]

No patching required.

ametzler@argenau:/tmp/findtest$ find \( -type d -printf '%p/\n' \) -or \( 
-print \)
./
./symlink1
./file1
./file2
./dir2/
./dir2/file4
./dir1/
./dir1/file3
./dir1/subdir/
./dir1/subdir/file5

cu Andreas

Reply via email to