Linux — How to display the contents of folders (defined defined in the file) to a text file?

Actually a question:
1 - There's a text file with some folders whose contents need to bring:

2 - There is a folder on the server with the contents

3 - you Need to list the contents of file folders in paragraph 1 in text file format types:

Means ls /home/*/* > результат.txt
it turns out to bring only

What is not appropriate. Help us to create a turnkey solution - something simple.
September 26th 19 at 07:25
1 answer
September 26th 19 at 07:27
directory lie in dirs.txt
then output as
cat dirs.txt | xargs -n 1 find

Find more questions by tags CentOS