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

tb2me

macrumors member
Original poster
Jan 8, 2005
58
44
Hey, guys.

I'm looking for a simple way to create a text file that contains a list of all the files in a particular folder. I have quite an extensive collection of digital sheet music and would like to find a way to publish a list of my collection without having to manually type out 400+ filenames. There seems like there must be something obvious I am missing, or maybe a simple application I could download.

(In case I'm not clear . . . imagine I had a folder with three files: A.pdf, B.pdf, and C.pdf. I want a way to press a button and get a text file that reads:

A.pdf
B.pdf
C.pdf )

Thanks!
 
Hey, guys.

I'm looking for a simple way to create a text file that contains a list of all the files in a particular folder. I have quite an extensive collection of digital sheet music and would like to find a way to publish a list of my collection without having to manually type out 400+ filenames. There seems like there must be something obvious I am missing, or maybe a simple application I could download.

(In case I'm not clear . . . imagine I had a folder with three files: A.pdf, B.pdf, and C.pdf. I want a way to press a button and get a text file that reads:

A.pdf
B.pdf
C.pdf )

Thanks!

there are several ways of doing this. One would be to simply drag the folder to automator (which creates the action "get specified finder items")
then add Get folder contents (you decide whether to check the checkbox)
and then the final step new text file.
 
The easiest way that I can think of is from the command line. Just open up Terminal, go to the folder that you want and then type in:

Code:
ls > whatever.txt

That will dump the name of every file in the folder into a text file.
 
Isn't there a nice bit of (free) software out there that makes it easier to make a nice clear list of MP3s by artist, song, etc?
All I get now is a list of each file with its location on my computer.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.