Making a list of folders

Caporegime
Joined
1 Nov 2003
Posts
35,691
Location
Lisbon, Portugal
Hi guys,

I've got folder A which contains roughly 200 sub folders.

I want to extract a list of the names of the 200 sub folders...how can I do this? :)

Cheers!
Jake
 
I worked it out!

Go to Terminal, cd to the directory you want to list the files of, and do

ls -R > list.txt

That'll make a text file of the folders and files in

Any more complicated than that and I'm a bit lost
 
Alternatively, drill down to the 200 sub folders, select them all and press cmd + c to copy them.

Open Textedit and select "Paste and match style" from the menu bar. Done.
 
Back
Top Bottom