2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 2036
/ 3 Years ago, tue, september 14, 2021, 11:48:41
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
...
More From » command-line