Skip to content

Instantly share code, notes, and snippets.

@ndelitski
Created October 11, 2015 00:20
Show Gist options
  • Select an option

  • Save ndelitski/2c41c7d04a26e72314fc to your computer and use it in GitHub Desktop.

Select an option

Save ndelitski/2c41c7d04a26e72314fc to your computer and use it in GitHub Desktop.
console snippets
# print current directory tree
find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment