Tree in Android ADB Shell

Recurrsive

# find . -print | sort | sed 's;[^/]*/;|---;g;s;---|; |;g'
.

|---app_database
|---app_download_internal
|---app_textures
|---app_webview
| |---Cookies
| |---Cookies-journal
| |---GPUCache
| | |---index
| | |---index-dir
| | | |---the-real-index

Just current folder

# ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 's/-/|/'
Show Comments