Wednesday, October 06, 2004

Printing directory trees

Ok, this is really dumb, but I had to search for it for a while. So here goes, it might help someone.

Today I had to find a way to print out the directory structure from one of our unix boxes. In DOS we used to have the amazing tree command, but you don't have that in unix. The following will also work:

find . -type d -print


No comments: