How to make a dir-list in *Nix

[I have added this one as a quick how-to for myself mainly, simply because I seem to forget this nifty command combo!]

To make a text-file of a complete folder listing (including all subfolders):

[in a terminal]

find . -type d > filename.ext

[to make it easier for yourself, cd to the directory which contents you want to list in a text file]

Or … simply copy & paste the all the files into a word doc when using Finder on your Mac.

Leave a Reply