79581887

Date: 2025-04-18 23:57:20
Score: 1.5
Natty:
Report link

In the process of writing this post, I found the answer.

find "$directory" -type f

from GNU find, is exactly what I was looking for.

In terms of getting this into an array, you could use readarray:

readarray -t files < <(find "$directory" -type f)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: revsuine