QuickTip: Tree on CygWin

I like tree command on linux which provide you the snapshot of the directory structure and files in a tree view. Something like this:

As most of the times I use CygWin on Windows, I wanted to get ‘tree’ working here too. I could find the source of it at http://freshmeat.net/projects/tree/ which I compiled and installed based on the instructions mentioned.

Though it worked but I started getting problems because of non-ASCII characters used in the ‘tree’ output. For that I installed mintty. ‘mintty’ is even cooler to use on top of cygwin. At the same time I got ‘tree’ command working the way I wanted.

ShriKant Vashishtha is an enterprise Agile Coach, IT strategist, trainer, thinker and hands-on geek. He is passionate towards enterprise Agile transformation, quality aspect of software development including TDD, refactoring, Continuous Delivery, DevOps and Test Automation. He can be reached at vashishtha_sk@yahoo.com.

Tagged with: , , ,
Posted in Cygwin, QuickTip, Tools

Leave a Reply

Your email address will not be published. Required fields are marked *

*

CommentLuv badge

Welcome to Sampreshan
Technology Strategist, Speaker, Scrum/XP/Agile Trainer Coach and Trainer
Your interest areas
Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: