> kate $(find $PATH1 $PATH2 $PATHN -type f -print0 |xargs -r0 -n1 echo)
This works for me on Leap 15.5 as long as I do not exceed the maximum bash line size.
But editing more than 50 files at the same time would exaust my brain and maybe system memory anyway.
@jcdole not really related to your issue, but are you processing these files opened by kate in some way, if so your should perhaps look at using perl to process?
I work on small projects using bash scripts (about 30 files).
I found it interesting to have 2,3 or 4 windows open at the same time.
I know I can use sessions and put all the necessary files into a session.
But I thought a small piece of code should be easier to fill kate automatically.