Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Display a tree-like structural view of any directory' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Display a tree-like structural view of any directory
Authored by: wgscott on Feb 15, '06 10:05:44PM
That actually makes it cleaner. Just do this:

tree -H $PWD > junk.html ; open junk.html ; sleep 6 ; /bin/rm -f junk.html

The other was just designed to trim the ./ from the front of the path. This instead appends the true full path, so it is unambiguous as well as much cleaner. Now if only I could pipe it.

[ Reply to This | # ]
Display a tree-like structural view of any directory
Authored by: wgscott on Feb 15, '06 10:09:08PM
Or even this:

tree -H $PWD > /tmp/$$junk.html ; open /tmp/$$junk.html

[ Reply to This | # ]