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

orbdrums

macrumors member
Original poster
Dec 13, 2008
78
0
I've done this before both in Terminal and Finder but I can't remember how. I want to create a spreadsheet from a directory listing. Not the actual files, just the listing in Finder or Terminal. Any help would be appreciated.
 

r0k

macrumors 68040
Mar 3, 2008
3,611
75
Detroit
I've done this before both in Terminal and Finder but I can't remember how. I want to create a spreadsheet from a directory listing. Not the actual files, just the listing in Finder or Terminal. Any help would be appreciated.


Code:
ls > myfiles.txt
 

snberk103

macrumors 603
Oct 22, 2007
5,503
91
An Island in the Salish Sea
I've done this before both in Terminal and Finder but I can't remember how. I want to create a spreadsheet from a directory listing. Not the actual files, just the listing in Finder or Terminal. Any help would be appreciated.

In finder, open in Column view (other views may work too, I didn't try)
Select All
Copy
Paste into the cell in Numbers you want to start the list with.
Done.

Drag and Drop doesn't work, you have to copy and paste.
 

orbdrums

macrumors member
Original poster
Dec 13, 2008
78
0
Thanks guys. Both worked. I was trying to drag and drop but it wouldn't work.
Peace.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.