• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Music directory listing

NRaygun

Member
I need to find a command that can list a directory with a one level deep listing. I want to include a text file with a backup of my music drive so I know what all is contained in the backup.

So a directory would be

Artist 1
Album 1
Album 2
Artist 2
Album 1
Artist 3
Album 1
Album 2
Album 3

and the listing would be:

Artist 1 - Album 1
Artist 1 - Album 2
Artist 2 - Album 1
Artist 3 - Album 1
Artist 3 - Album 2
Artist 3 - Album 3

etc.

Can such a command be issued at a command line and piped to a text file?
 
Back
Top