sábado, 6 de marzo de 2010


List all Directories in Unix Shell

I found this to list all directories in bash one line:

find . -type d | perl -lne 'print tr:/::, " $_"' | sort -n | cut -d' ' -f2

Via:
stackoverflow