Created
August 24, 2018 18:05
-
-
Save lovellfelix/4553077faaf0e5e1d7c676556c26fe64 to your computer and use it in GitHub Desktop.
Print directory Tree
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
#!/bin/bash | |
# | |
# | |
# | |
# | |
ls -R `pwd` | 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