html index page of tree view of directory

By technese - Last updated: Sunday, November 20, 2011 - Save & Share - Leave a Comment

-H : turn on html
baseHREF : gives the base ftp location when using HTML output.
-o : output filename

$ tree -H baseHREF -o index.htm

create index.htm of current directory and output filename as index.htm

$ tree -H . -o index.htm 
Posted in General • • Top Of Page