Created
December 21, 2017 09:31
-
-
Save owex/bce8d82c1cd16115695658e78242b473 to your computer and use it in GitHub Desktop.
Display the structure of a folder and all subfolders in terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -R | grep ":$" | sed -e 's/:$//' -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