W whyrichard macrumors 68000 Original poster Aug 15, 2002 1,716 9 May 22, 2007 #1 Is there a free way to create a text file of all the files in my mac? preferably with the folder heirarchy? thanks, r.
Is there a free way to create a text file of all the files in my mac? preferably with the folder heirarchy? thanks, r.
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate May 22, 2007 #2 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.
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.
C ChrisA macrumors G5 Jan 5, 2006 13,118 2,586 Redondo Beach, California May 22, 2007 #3 whyrichard said: Is there a free way to create a text file of all the files in my mac? r. Click to expand... The "ls -R" command. Pipe the output to a file. like this "ls -R > somefilename.txt" There are 1,000 variations of the above and you might use find or even echo in place of ls.
whyrichard said: Is there a free way to create a text file of all the files in my mac? r. Click to expand... The "ls -R" command. Pipe the output to a file. like this "ls -R > somefilename.txt" There are 1,000 variations of the above and you might use find or even echo in place of ls.
W whyrichard macrumors 68000 Original poster Aug 15, 2002 1,716 9 May 22, 2007 #4 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.
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.