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: ra5ul on Feb 15, '06 10:02:03PM
there's just a backslash missing:
tree -H x | sed 's/x\///' ...

you can get this to work in elinks (any probably other text browsers) with:
tree -aH `pwd` | elinks -force-html

as for safari, it doesn't always open local files in the finder (e.g. *.js, *.pl, *.py open fine on 2.0.3). it seems to be restricted to directories and files it would normally download instead of displaying. there should be a way to specify these files (either in safari's Info.plist or through launchservices), but i don't know how.

[ Reply to This | # ]

!!!
Authored by: ra5ul on Feb 15, '06 10:05:34PM
tree -H x | sed 's/x\///' ... ridiculous.

[ Reply to This | # ]