azigni
2024-04-30 01:43:53 UTC
Hello,
I know this command ls > somefile.txt reads the contents of a folder and
outputs it to somefile.txt.
I have so far, 6.x folders of ripped mp3's from my music collection and I
would like to print out the contents of each folder under the main
folders.
The folder tree is something like this: Music1/EasyListening/several
directories of albums/the songs they each contain.
What do I need to modify the ls output command to to to have it read sub-
folders, sub-sub folders and print out those file names?
Thanks in advance!
I know this command ls > somefile.txt reads the contents of a folder and
outputs it to somefile.txt.
I have so far, 6.x folders of ripped mp3's from my music collection and I
would like to print out the contents of each folder under the main
folders.
The folder tree is something like this: Music1/EasyListening/several
directories of albums/the songs they each contain.
What do I need to modify the ls output command to to to have it read sub-
folders, sub-sub folders and print out those file names?
Thanks in advance!