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

MacKey76

macrumors member
Original poster
Aug 8, 2011
53
7
I'm fairly new to Mac so please forgive this newbie question.

Is there a way to export to text (to use in spreadsheet or similar) a list of all filenames within a particular folder in Finder?

Thanks in advance.
 
In Finder:
select all files in the current folder (cmd+A), copy (cmd+C), open any text editor, and paste (cmd+V)
If u use the TextEdit, go to Edit => Paste and Match Style.

In Terminal:
Navigate to the current folder: cd path/to/folder (you can drag n drop the folder inside the Terminal to copy the path)
And type this command...
ls > list.txt

This will output the result of ls inside a new list.txt file... (it'll be created in the current directory)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.