On 12/17/2016 9:40 AM, Richard Owlett wrote:
ls -R /media/data produces the content but not the NEEDED format.
I want a list like:
/media/data/dir1/filea
/media/data/dir1/fileb
/media/data/dir1/subdir1/filex
/media/data/dir1/subdir1/filey
/media/data/dir1/subdir1/filez
/media/data/dir2/filea
/media/data/dir2/fileb
/media/data/dir2/subdir1/filex
/media/data/dir2/subdir1/filey
/media/data/dir2/subdir1/filez
et cetera
I don't wish anything but full path to all files in a top level
directory.
Followup question how should I found the answer for myself. I
looks basic enough ...
TIA
"find" is what I was looking for.
Browsing the man page suggests I can even select which lines to
print - i.e. I'm only really in files of form *.html .
Thanks again.