Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know I can use tree to show the nested content of a directory. Alas, its output is hardly beautiful as I want to include it in a documentation. So eye-candy is a requirement.

So I was wondering if there is an easy way to generate a more beautiful representation of a directory's tree structure. I wouldn't mind a solution that generates awesome images with fancy configurable colors.

share|improve this question
You could abuse Gephi with a little scripting. – scai Dec 3 '12 at 13:58
Did you try tree with unicode symbols, in a unicode terminal? – Keith Jan 10 '13 at 13:13

You can try:

 tree | zenity --list --title "Title" --text "Text" --column "Files"
share|improve this answer

Under Gnome, you could try baobab

enter image description here

share|improve this answer

Mindmapping software (such as freemind, or freeplane) have a nice directory layout capability built-in. And you can open/close subdir trees as needed to only display the ones you want. And easily customize colors and fonts or line style, either automatically (starting from one or several nodes) or one by one. And can encircle somes in clouds. And link between some. And add comments. And can easily copy one or several branch and paste into text. Try them ^^

share|improve this answer
This does not indicate how to get a directory structure in your favourite mindmapping tool. – gertvdijk Dec 4 '12 at 14:33
It's not too hard to find: either in the inline help, or, in Freemind for example: File - Import - Folder structure (I wasn't then in front of my computer, sorry for that omission) – Olivier Dulac Dec 4 '12 at 15:22

If you don't like the output of tree, don't use it.

Use a directory listing from a file-open or file-close dialog, and make a screenshot.

share|improve this answer
Valid approach, but not as much eye candy as I would have liked. – k0pernikus Jan 10 '13 at 18:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.