Skip to content

Instantly share code, notes, and snippets.

@CodeByAidan
Created March 14, 2024 13:45
Show Gist options
  • Save CodeByAidan/7b41ee0bfb708cf1a793a3cd93587bab to your computer and use it in GitHub Desktop.
Save CodeByAidan/7b41ee0bfb708cf1a793a3cd93587bab to your computer and use it in GitHub Desktop.
find and sed only to reproduce the tree command in Linux
find . -print | sed -e "s;[^/]*/;|____;g;s;____|; |;g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment