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

jackdanny

macrumors newbie
Original poster
Aug 6, 2007
12
0
Hi all,

Just wondering if there was a way to make a text list with all the info that you see in a folder directory in Finder? I have varies folders with large amounts of files I want to put into a database. I know that selecting all in the Finder, then copy and pasting into a Document puts in the file names, but I want the file Size, Kind etc to be pasted too.
Any help much appreciated!
Cheers
JD
 
I'd hit the terminal. ls -l output may be all you need. You can redirect it to a file using >. So, say you want everything in your Desktop in a file on the Desktop... open terminal and type:
cd
ls -l > Filelist.txt

And you'll have a file on your desktop with all sorts of information. There are lots of ways to change exactly what ls outputs, so if it's not exact you could tweak the command. You can type "man ls" to get the manpage, or take a look here:
http://unixhelp.ed.ac.uk/CGI/man-cgi?ls

-Lee
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.