Have not tried, but I bet this program do it in GUI

http://www.ztree.com/