I have a directory html. I would like to output the files of the directory, including the path, to a file.
You can do something like this with the command:
ls -R scripts/html > out.txt
But the results are like:
scripts/html
1.html
2.html
...
I would like the result as:
scripts/html/1.html
scripts/html/2.html
...