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

whyrichard

macrumors 68000
Original poster
Aug 15, 2002
1,716
9
Is there a free way to create a text file of all the files in my mac?


preferably with the folder heirarchy?


thanks,
r.
 
Open the Terminal. Change to the directory you want to start in and type:

Code:
find * name > ~/Desktop/tree.txt

After some time the file tree.txt on your Desktop will contain a list of all files in all directories from the point you start at.

If you need to find out how to move around the folder tree at the Unix command line there are lots of guides out there.
 
but is there a way to do this in a more controlled fashion... so that you can select the folders you want shown and then export that list outline as a text file...?

thanks for your help...

also need to do this on two windows computers.....

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