Skip to content

Instantly share code, notes, and snippets.

@Bat-Chat
Created April 26, 2017 16:16
Show Gist options
  • Save Bat-Chat/5917d391c055b974b0f24838907e75ca to your computer and use it in GitHub Desktop.
Save Bat-Chat/5917d391c055b974b0f24838907e75ca to your computer and use it in GitHub Desktop.
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