This is a general linux question that I couldn’t figure out, sorry if it is the wrong place to ask.
I know that in terminal, “ls - R” will list subdirectory contents and “ls - S” will sort contents. I just want to get sorted by file sizes, regardless of main directory or subdirectory location. When I try “ls - RS”, I don’t get that result. Is there a way to sort all files (regardless of subdirectory location) by size and list them?
The equivalent method in Windows (sorry, I have no other analogy) would be to run a search for a specific file type (like .rar) and then sort results by size. That is what I’m trying except that I’m not picky about file type although I can declare it if need be.