首页 > 代码库 > Unix/Linux 'dirctory tree' command.

Unix/Linux 'dirctory tree' command.

ls -R | grep ":$" | sed -e ‘s/:$//‘ -e ‘s/[^-][^\/]*\//--/g‘ -e ‘s/^/   /‘ -e ‘s/-/|/‘

It seems useful as a upgrade version of ‘ls -R‘

Unix/Linux 'dirctory tree' command.