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.
时间: 2024-10-17 14:48:45
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.