Ok, not exactly what you asked for, but tree -fis or tree -fih might help you a bit and is a small, compact solution. :)
The first command outputs the recursive directory tree showing also the file size in bytes, the second one is the same but has "human readable" output, showing the size in kilobytes, megabytes, gigabytes... whatever it considers appropriate for that file.
I'm assuming
ll
is an alias forls -l
, in which case what's wrong withOk, not exactly what you asked for, but
tree -fis
ortree -fih
might help you a bit and is a small, compact solution. :)The first command outputs the recursive directory tree showing also the file size in bytes, the second one is the same but has "human readable" output, showing the size in kilobytes, megabytes, gigabytes... whatever it considers appropriate for that file.
Are you trying not to descend into subdirectories?
How about:
Pipe to "sort -n" if desired.