Skip to content

Instantly share code, notes, and snippets.

@fahadsiddiqui
Last active October 20, 2020 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fahadsiddiqui/a17f49b8d35a6106efcf56dadcd47ab5 to your computer and use it in GitHub Desktop.
Save fahadsiddiqui/a17f49b8d35a6106efcf56dadcd47ab5 to your computer and use it in GitHub Desktop.
Markdown-safe tree creation using bash command `tree`. Just go to the project root, and run it.
tree . -aF --dirsfirst -I '.git|node_modules|.idea' | sed -e 's/│/|/g' -e 's/└/+/g' -e 's/├/+/g' -e 's/──/--/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment