Skip to content

Instantly share code, notes, and snippets.

@fdanelyan
Created April 21, 2014 06:25
Show Gist options
  • Save fdanelyan/11133938 to your computer and use it in GitHub Desktop.
Save fdanelyan/11133938 to your computer and use it in GitHub Desktop.
Show files tree of directory in shell
find . -print | sed -e '/^\.$/d' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment