A simple option is to search recursively through the dirs and pipeinto a sort.Something like this?ls -sSR --hide=d | sort -g -k 1