Feb 13, '04 11:03:00AM • Contributed by: wallyfoo
Open up a terminal window and type:
'cd ' (without the quotes and with a space at the end), then drag the folder you want recursively listed to the terminal window and let it finish the path. Hit return.
Next command:
ls -RF > ~/Desktop/folder_list.txt
The -R flag drills recursively into sub folders.The -F flag writes a trailing slash '/' after folders, and a trailing asterisk '*' after executable files.
folder_list.txt is the name of the file you want the output of the recursive ls command to write out to. Feel free to use something more descriptive as you wish.
When you're done, you'll have a nice plain text file containing the output of the folder structure on your desktop, suitable for copying and pasting or emailing to the recipient of your mangled folder structure.
