Tom Lauck’s

Print File Structure In Mac OS X


The topic arouse while working a large project: “How can I print the directory structure in OS X? It was easy in OS 9.”

It is possible by using the Terminal application. I intend to write an AppleScript in the near future to do this automatically.

Open up Terminal (Its located in the Utilities folder in Applications)Enter


*Make Sure there is a space after ‘cd

Select or open a finder window that has the directory of interest. Drag the file to the Terminal window and hit Enter.

A new line should appear. Type:

ls -RF > ~/Desktop/file_structure.txt

Look at your Desktop. A file named ‘folder_list.txt’ should be visible. You can now edit and do with it what you wish. 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.

Feb 14 2007

New Parallels Update


If you haven’t gotten a chance, download the new Parallels update.

Among other speedy enhancements is my new favorite feature about my Mac…coherence. I can have Windows shortcuts sitting in my dock. In this mode, the start menu and task bar sit nicely with the dock and you do not even know you are in windows. It takes feels as though the barrier between Mac and PC is totally shattered.

I am anxious to see what Vista will do my virtual machine…

Feb 6 2007