'How to get all paths of files from directory with bash? [duplicate]

for example I have:

   test-folder
     --a-folder
       --a.file
     --b-folder
       --b.file
       --c.file

I need to put "test-folder" as argument and I should get back:

(
root/test-folder/a-folder/a.file,
root/test-folder/b-folder/b.file,
root/test-folder/b-folder/c.file,
)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source