In MAC OS X
Open up terminal (applications>utilities), cd to the folder, and then type;
ls -R > contents.txt
this command will list all of the files’ names in the current folder and subfolders, and then output the list to ‘contents.txt’ which will then be saved in the same folder. If you require the hidden files to be included in the list, the use ‘ls -a -R’ instead.
In WINDOWS XP / VISTA
open CMD prompt, navigate to directory, then:
dir /B /S >> file-list.txt
-OR-
tree /F /A >> file-list.txt
Leave a Reply