[SOLVED] Recursive full-path listing, one line per file

I want to list the contents of one or more directories recursively with complete pathnames to all files. Say that I have the following files
The only problem I've found so far is that it doesn't work with filenames with spaces.
- /home/name/one/directory/foo.txt
/home/name/another/directory/bar.txt
/home/name/antoher/directory/second bar.txt
- Code: Select all
ls -ld $(find /home/name/one/directory/) $(find /home/name/antoher/directory/)
The only problem I've found so far is that it doesn't work with filenames with spaces.