Consider the following directory listing:
/a/1 /a/2 /a/3 /b/1 /b/2 /b/3/a /b/3/b /c/a.whatever /c/b /c/c
I want a command that will find the first (alphanumeric sort) file in each directory (inc nested) and deliver the following output:
/a/1 /b/1 /b/3/a /c/a.whatever
This seems like a job for
find but I'm running low on coffee. Release the Ninjas!