Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vim147

macrumors regular
Original poster
Nov 14, 2011
236
1
I have over 300 music albums in folders that i want to create a list of.

Is there anyway i can create a list onto a word, excel or pdf format either on mac or pc ?

It'd take too long to copy and paste all the folders so looking for a easy option.
 

GGJstudios

macrumors Westmere
May 16, 2008
44,545
943
I have over 300 music albums in folders that i want to create a list of.

Is there anyway i can create a list onto a word, excel or pdf format either on mac or pc ?

It'd take too long to copy and paste all the folders so looking for a easy option.
Assuming the folder names are the album names and they're all in the same parent folder:
  1. Open the parent folder in Finder
  2. Put a single space character in the Finder search field
  3. Select the parent folder in the search location
  4. Click the + under the search field to add search criteria
  5. Select "Kind" is "Folder" to select only the folders and not their contents
  6. Command-A to select all
  7. Command-C to copy
  8. Open TextEdit
  9. Command-Shift-T to change format to plain text
  10. Command-V to paste
These steps work in Snow Leopard. They may need to be modified slightly in ML.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,134
15,597
California
I have over 300 music albums in folders that i want to create a list of.

Is there anyway i can create a list onto a word, excel or pdf format either on mac or pc ?

It'd take too long to copy and paste all the folders so looking for a easy option.

Paste the below command into Terminal and hit enter. That will put a text file called "mymusic.txt" on your Desktop listing everything in your Music folder. If the files are elsewhere, just change the ~/Music part to the path/folder containing the songs.

Then you can look at that mymusic.txt text file in Textedit or Word etc.

Code:
ls -R ~/Music > ~/Desktop/mymusic.txt
 

vim147

macrumors regular
Original poster
Nov 14, 2011
236
1
I just want to create the names of the albums which are all in folders on my usb drive. Not list all individual mp3 songs i have.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,134
15,597
California
I just want to create the names of the albums which are all in folders on my usb drive. Not list all individual mp3 songs i have.

Ah... okay. So you have one folder then in that folder you have subfolders that are the album titles... yes?

Open Terminal then type cd followed by a space, then drag the folder into the Terminal window and hit enter. This will get you in the correct folder in Terminal. Then run the command below.

Code:
ls -d */ > ~/Desktop/mymusic.txt
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.