# defaults to cwd.
# @param String $directory the directory for which you want to recursively list the contents.
#
function lsd()
{
if [[ $1 ]]; then
dir=$1
else
dir="."
fi
find $dir -type d
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.